Almighty God, in humble prayer. J. Montgomery. [For Wisdom.] This hymn is in the "M. MSS.," but undated. It was published in Montgomery's Christian Psalmist, 1825, No. 498, in 6 stanzas of 4 lines and entitled "Solomon's Prayer for Wisdom." It is repeated, without alteration, in his Original Hymns, 1853, No. 70. In modern collections it is usually given in an abbreviated form, as in Windle's Metrical Psalter & Hymnal, No. 11, Harland's Church Psalter, No. 199, the American Sabbath Hymn Book, &c.
-- John Julian, Dictionary of Hymnology (1907)