Samuel Wesley wrote this anthem on 31 March 1813 following the death of his daughter Sarah two days earlier. In a letter to Vincent Novello he apologized that the piece was "put together in Sorrow of Heart and consequently not in the merriest Style." In fact it strikes me as majestic rather than sorrowful.
Samuel Wesley by John Jackson, RA (1778-1831). Image courtesy of Wikipedia Commons