Psalm 40In Hebrew texts 40:1-17 is numbered 40:2-18.
For the director of music. Of David. A psalm.
I waited patiently for the Lord;
he turned to me and heard my cry.
He lifted me out of the slimy pit,
out of the mud and mire;
he set my feet on a rock
and gave me a firm place to stand.
He put a new song in my mouth,
a hymn of praise to our God.
Many will see and fear the Lord
and put their trust in him.
Blessed is the one
who trusts in the Lord,
who does not look to the proud,
to those who turn aside to false gods.40:4 Or to lies
Many, Lord my God,
are the wonders you have done,
the things you planned for us.
None can compare with you;
were I to speak and tell of your deeds,
they would be too many to declare.
Sacrifice and offering you did not desire—
but my ears you have opened40:6 Hebrew; some Septuagint manuscripts but a body you have prepared for me—
burnt offerings and sin offerings40:6 Or purification offerings you did not require.
Then I said, “Here I am, I have come—
it is written about me in the scroll.40:7 Or come / with the scroll written for me
I desire to do your will, my God;
your law is within my heart.”