This melody first appeared in the Geneva Psalter in 1562. The words are somewhat older.
As the hart panteth after the water brooks, so panteth my soul after thee, O God. (Ps. 42:1) I like it best in the language of the King James Version.
May this hymn be a blessing to all of us today.