Psalms 40:2-3 (WEB)
2 He brought me up also out of a horrible pit, out of the miry clay. He set my feet on a rock, and gave me a firm place to stand.
3 He has put a new song in my mouth, even praise to our God. Many shall see it, and fear, and shall trust in the LORD.
About Psalms 40: Psalms 40 stands in the second book of the Psalter, following the family of Asaph and preceding the psalms of the sons of Korah. It is attributed to David, who writes from a place of deep personal experience. The chapter moves from a past testimony of deliverance to a present commitment to serve, and finally to a plea for help in current trouble. It is a honest look at the cycle of prayer, waiting, rescue, praise, and new need. David does not hide his struggles; he brings them straight to the Lord. Read the study notes
2 verses · Compare in parallel · Read all of Psalms 40