Psalms · Chapter 40
Obedience Over Sacrifice
17 verses · ~2 min read · tap citations for Scripture
David opens with a vibrant thanksgiving song. He waited patiently for the LORD, and God inclined His ear to hear his cry. God lifted him out of a desolate pit and miry clay, set his feet solidly upon a rock, and placed a new song in his mouth so that many will see, revere, and trust the LORD ().
He celebrates the blessing of trusting the LORD rather than turning toward the proud or deceptive. God's wondrous deeds and thoughtful plans for His people are too countless even to list or declare ().
Next comes the psalm's deepest passage: David recognizes that what God truly desires from humanity is never bare external ritual, but an open ear and joyful obedience. "Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require. Then I said, 'Here I am, I have come—it is written about me in the scroll: I delight to do Your will, O my God; Your law is within my heart'" ().
Because God's law lives inside his heart, he refuses to stay quiet about God's grace, boldly proclaiming His righteousness, faithfulness, steadfast love, and salvation before the great assembly ().
Unexpectedly in the second half, the tone swings from thanksgiving to urgent distress amid fresh crisis. Troubles beyond number surround him, and his own iniquities outnumber the hairs on his head until his heart fails. He pleads with God not to withhold mercy, begs Him to hurry to the rescue, put his attackers to shame, and gladden everyone who seeks the LORD. The poem closes in humble dependence: "Yet I am poor and needy; may the Lord think of me" ().
Key Takeaways
God looks for an obedient heart over outward ceremony. Verses 6 through 8 echo a steady biblical refrain: sacrifices mean nothing without a heart glad to do God's will (; ). Once God's law moves from paper into the heart, obedience stops feeling like drudgery and turns into delight ().
Remembering past rescue fuels prayer in fresh trouble. The first half of Psalm 40 gives thanks for being pulled from miry clay (); the second half cries out from brand-new danger (). That movement matches real life: believers thank God for what He has done and lean on that same faithfulness to seek help today.
Deeper Meaning
Hebrews quotes verses 6 through 8 directly on the lips of Jesus as He enters the world (). The author of Hebrews cites these exact lines () to show that the blood of bulls and goats could never remove sin. Therefore Christ came to fulfill God's will by offering His own body as a sacrifice once for all ().
Both ears You have opened in Hebrew and a body You have prepared for Me in Hebrews point to total obedience (). In Hebrew, verse 6 literally reads "ears You have dug/pierced for me"—meaning either unstopping the ear to listen or recalling the bondservant who voluntarily had his ear pierced to serve his master for life (). The ancient Greek Septuagint quoted by Hebrews paraphrases the idea as a body You have prepared for me, spotlighting how Christ took on human flesh to obey the Father all the way to death on a cross ().
Notes & Nuances
The final five verses of Psalm 40 appear almost word for word as the entire Psalm 70 (). This reveals how flexibly Israel used the Psalter in worship: a brief urgent plea from a longer composition could stand alone as a crisp prayer for emergencies.
In verse 12, David confesses my iniquities outnumber the hairs on his head—an important reminder for reading Messianic psalms (). When Hebrews applies verses 6 through 8 to Jesus (), that does not mean every surrounding verse (like David's confession of personal guilt in verse 12) attributes sin to Christ; Christ was spotless, fulfilling completely what David only reached toward imperfectly.
What Commentators Say (3)
John Calvin, sixteenth-century Reformer in Geneva, clarifies on verse 6 that God was not abolishing the sacrifices He Himself had ordained under Moses at that time, but confronting hypocrites who treated offerings like bribes replacing obedience. He adds that Hebrews 10 applies these words to Christ because only in Him did complete obedience become reality. (Commentary on the Book of Psalms, on Psalm 40)
Confidence: Mediumdistinguishing God's condemnation of empty formalism from abolishing Mosaic worship and linking to Hebrews 10 is a classic Calvin argument; exact wording not re-verified
Charles Spurgeon, nineteenth-century English preacher, delights in the picture of verses 1 through 3: patient waiting on God is never wasted; God not only pulls the believer out of miry clay, but sets their feet on solid rock and puts a fresh testimony song in their mouth to draw others. He calls verse 17—may the Lord think of me—priceless comfort for the poor and needy. (The Treasury of David, on Psalm 40)
Confidence: Mediumunpacking the three-step deliverance in verses 2–3 and comforting words of verse 17 is thoroughly characteristic of Spurgeon; exact wording not re-verified
Matthew Henry, late seventeenth- and early eighteenth-century English pastor, remarks on verses 9 and 10 that authentic gratitude refuses to stay shut inside a private closet: whoever truly tastes God's salvation longs to recount His faithfulness publicly in the congregation to encourage others. (Commentary on the Whole Bible, on Psalm 40)
Confidence: Mediumemphasizing public testimony flowing from real gratitude fits Matthew Henry's commentary on verses 9–10; exact wording not re-verified
Full chapter text · 17 verses
1For the choirmaster. A Psalm of David. I waited patiently for the LORD; He inclined to me and heard my cry. 2He lifted me up from the pit of despair, out of the miry clay; He set my feet upon a rock, and made my footsteps firm. 3He put a new song in my mouth, a hymn of praise to our God. Many will see and fear and put their trust in the LORD. 4Blessed is the man who has made the LORD his trust, who has not turned to the proud, nor to those who lapse into falsehood. 5Many, O LORD my God, are the wonders You have done, and the plans You have for us— none can compare to You— if I proclaim and declare them, they are more than I can count. 6Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require. 7Then I said, “Here I am, I have come— it is written about me in the scroll: 8I delight to do Your will, O my God; Your law is within my heart.” 9I proclaim righteousness in the great assembly; behold, I do not seal my lips, as You, O LORD, do know. 10I have not covered up Your righteousness in my heart; I have declared Your faithfulness and salvation; I have not concealed Your loving devotion and faithfulness from the great assembly. 11O LORD, do not withhold Your mercy from me; Your loving devotion and faithfulness will always guard me. 12For evils without number surround me; my sins have overtaken me, so that I cannot see. They are more than the hairs of my head, and my heart has failed within me. 13Be pleased, O LORD, to deliver me; hurry, O LORD, to help me. 14May those who seek my life be ashamed and confounded; may those who wish me harm be repelled and humiliated. 15May those who say to me, “Aha, aha!” be appalled at their own shame. 16May all who seek You rejoice and be glad in You; may those who love Your salvation always say, “The LORD be magnified!” 17But I am poor and needy; may the Lord think of me. You are my helper and deliverer; O my God, do not delay.