Psalm 40:7 "Then said I, Lo, I come: in the volume of the book it is written of me,"
Psalms 40:1 - 17
ESV - 1 I waited patiently for the Lord ; he inclined to me and heard my cry. 2 He drew me up from the pit of destruction, out of the miry bog, and set my feet upon a rock, making my steps secure.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.