Psalm 40:1-9 NLT

1 For the choir director: A psalm of David. I waited patiently for the LORD to help me, and he turned to me and heard my cry.
2 He lifted me out of the pit of despair, out of the mud and the mire. He set my feet on solid ground and steadied me as I walked along.
3 He has given me a new song to sing, a hymn of praise to our God. Many will see what he has done and be astounded. They will put their trust in the LORD.
4 Oh, the joys of those who trust the LORD, who have no confidence in the proud, or in those who worship idols.
5 O LORD my God, you have done many miracles for us. Your plans for us are too numerous to list. If I tried to recite all your wonderful deeds, I would never come to the end of them.
6 You take no delight in sacrifices or offerings. Now that you have made me listen, I finally understand -- you don't require burnt offerings or sin offerings.
7 Then I said, "Look, I have come. And this has been written about me in your scroll:
8 I take joy in doing your will, my God, for your law is written on my heart."
9 I have told all your people about your justice. I have not been afraid to speak out, as you, O LORD, well know.