The hymnbook version of Psalm 42 goes "As pants the hart for cooling streams/When heated in the chase,/So longs my soul, O God, for Thee/And Thy refreshing grace." That dates from 1696, Tate & Brady were responsible. An earlier seventeenth century poet, George Sandys, published a version in 1638 that begins:

Lord, as the Hart imbost with heat
Brayes after the coole Rivolet,
So sighes my soule for thee;
My soule thirsts for the living God:
When shall I enter his abode
And there his beauties see? . . .