[A psalm by David for the music leader.]
I patiently waited, LORD,
for you to hear my prayer.
You listened and pulled me
from a lonely pit
full of mud and mire.
You let me stand on a rock
with my feet firm,
and you gave me a new song,
a song of praise to you.
Many will see this,
and they will honor and trust
you, the LORD God.
Psalm 40:1–3