This hymn, loosely based on the earlier hymn "O Thou, in Whose Presence" by Joseph Swain, was first published in The Evening and the Morning Star in 1832.