My Saviour, be Thou near me, Through life's nigh. Mary Duncan, née Lundie. [Supplication.] First published in her Memoir, 1841, in 2 stanzas of 8 lines, and thus introduced:—
"To a Greek air, which a dear friend loved to hear her sing, she composed, at the pianoforte, the annexed stanzas, not being satisfied with the trifling words attached to it. They bear date the 20th December [1839], the last effusion of her muse, and the prayer of their petition was about to be answered speedily" (ed. 1843,p. 294).
The hymn is included, set to this air, in the Rev. J. H. Wilson's Songs of Zion, 1877, and, without the air, in other collections. [Rev. James Mearns, M.A.]
--John Julian, Dictionary of Hymnology (1907)