Psalm 40
Introduction
Psalm 40 is a psalm of David, addressed to the choirmaster and intended for public worship. It is a composite psalm of remarkable range, moving from radiant thanksgiving for a past deliverance (vv. 1-10) into an urgent lament for a present crisis (vv. 11-17). This juxtaposition is not a sign of editorial clumsiness but of spiritual maturity: David knows that gratitude does not insulate a person from future suffering, and he brings both realities into a single act of prayer. The opening verses describe how David waited in patient trust for God and was rescued from a pit of despair -- an experience so transformative that it produced a new song and attracted others to faith. But the second half reveals that David is once again in trouble, surrounded by enemies and crushed by the weight of his own sin, and he cries out to the God who has already proven himself faithful.
A particularly striking feature of this psalm is the meditation in verses 6-8, where David reflects on the nature of true devotion to God. The Hebrew text reads that God has "dug" or "opened" ears for the psalmist -- a phrase that points beyond formal religious observance to a deeper obedience of the heart. The New Testament Letter to the Hebrews quotes a version of these verses (from the Greek Septuagint, which reads "a body you have prepared for me") and applies them to Christ himself, who came to do the Father's will perfectly. Verses 13-17 of Psalm 40 are nearly identical to the entirety of Psalm 70, suggesting that this section circulated as an independent prayer of distress before being incorporated here.
Testimony of Rescue (vv. 1-5)
1 I waited patiently for the LORD; He inclined to me and heard my cry. 2 He 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. 3 He 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. 4 Blessed is the man who has made the LORD his trust, who has not turned to the proud, nor to those who lapse into falsehood. 5 Many, 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.
1 I waited and waited for the LORD; he bent down to me and heard my cry. 2 He drew me up from the pit of destruction, out of the bog and mire; he set my feet on solid rock, and steadied my steps. 3 He put a new song in my mouth, a song of praise to our God. Many will see and be afraid, and will trust in the LORD. 4 Blessed is the man who has made the LORD his confidence, who has not turned to the proud or those who chase after lies. 5 Many, O LORD my God, are the wonders you have done, and your thoughts toward us -- none can compare to you! If I would declare and speak of them, they are too many to count.
Notes
The opening verb קַוֹּה קִוִּיתִי is an infinitive absolute followed by a perfect, an idiom of intensification in Hebrew. The BSB renders it "I waited patiently," but the construction conveys sustained, enduring hope -- more like "I waited and kept on waiting." The root קָוָה means to wait with expectant hope, directed toward a specific person or outcome, the same root used in Isaiah 40:31 ("those who wait on the LORD will renew their strength").
The rescue imagery in verse 2 is vivid. בּוֹר שָׁאוֹן ("pit of destruction/noise") evokes Sheol, the realm of death, as well as a literal muddy cistern. The word טִיט הַיָּוֵן ("miry clay" or "bog and mire") appears again in Psalm 69:2, another Davidic psalm of distress, suggesting a common image for helpless sinking. Over against this, God sets his feet on סֶלַע ("a rock"), a word associated with God's own character in Psalm 18:2.
Verse 3 introduces the שִׁיר חָדָשׁ ("new song"), a phrase that appears six times in the Psalter (e.g., Psalm 33:3, Psalm 96:1, Psalm 98:1) and once in Revelation 5:9, where the redeemed sing a new song to the Lamb. The "newness" is not novelty but the freshness of a song born from a new act of God's faithfulness. Crucially, the new song is not private: "many will see" David's praise and themselves come to fear and trust the LORD. Personal deliverance becomes evangelistic testimony.
Verse 4 begins with אַשְׁרֵי ("blessed"), the same beatitude form that opens Psalm 1:1 and Psalm 41:1. The blessing falls on the man whose trust (בִּטְחוֹן) is in the LORD rather than in רְהָבִים ("the proud, the arrogant") -- a term sometimes used of Egypt (cf. Isaiah 30:7) and more broadly of any human power that swells with self-importance. The alternative is those who "lapse into falsehood" -- the Hebrew שֶׁקֶר may refer to idols (as in Jeremiah 13:25) or simply to deception and empty promises.
Verse 5 shifts into doxology. The word נִפְלְאֹתֶיךָ ("your wonders") is from the same root as "miracle" (פֶּלֶא). David piles up vocabulary: "wonders" and "thoughts/plans" directed toward "us" -- God's saving acts are never random but purposeful. The phrase אֵין עֲרֹךְ אֵלֶיךָ ("none can compare to you") uses עָרַךְ, "to set in order, arrange, compare" -- the same root used for arranging battle lines. No one can be set in order against God. David's declaration that the wonders are עָצְמוּ מִסַּפֵּר ("too numerous to count") is not hyperbole but theology: God's faithfulness always exceeds human capacity to catalogue it.
The Heart of True Obedience (vv. 6-10)
6 Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require. 7 Then I said, "Here I am, I have come — it is written about me in the scroll: 8 I delight to do Your will, O my God; Your law is within my heart." 9 I proclaim righteousness in the great assembly; behold, I do not seal my lips, as You, O LORD, do know. 10 I 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.
6 Sacrifice and grain offering you did not delight in -- but ears you have dug for me; burnt offering and sin offering you did not ask for. 7 Then I said, "Here I am, I have come; in the scroll of the book it is written about me: 8 I delight to do your will, O my God; your instruction is deep within me." 9 I have proclaimed righteousness in the great assembly; look, I have not held back my lips -- you, O LORD, know this. 10 I have not hidden your righteousness within my heart; I have declared your faithfulness and your salvation; I have not concealed your loyal love and your truth from the great assembly.
Notes
Verse 6 contains the most exegetically significant phrase in the psalm. The Hebrew reads אָזְנַיִם כָּרִיתָ לִּי -- literally, "ears you have dug for me" or "ears you have excavated for me." The verb כָּרָה means "to dig," used for digging wells (Genesis 26:25) and graves (Genesis 50:5). The image is startling: God has dug out the psalmist's ears -- cleared them, opened them, made them receptive. It implies that before this divine work, the ears were stopped up, blocked. This is a figure for radical inward transformation: God has made David genuinely capable of hearing and obeying. This stands in contrast to the formal religious acts that God "did not desire" -- not because sacrifice was wrong (God instituted it), but because the outward act divorced from inward devotion is hollow.
The Septuagint (LXX) renders this phrase quite differently: "a body you have prepared for me" (σῶμα δὲ κατηρτίσω μοι). This may be an interpretation rather than a different text, applying the part (ears) to the whole (body). The author of Hebrews quotes the LXX version in Hebrews 10:5-7 and applies it to Christ's incarnation -- the words become the Son's declaration upon entering the world: "a body you have prepared for me... I have come to do your will." This is a profound Christological reading. The words that originally expressed David's total availability to God's will are fulfilled in the one who was perfectly obedient.
Verse 7 employs the phrase בִּמְגִלַּת סֵפֶר ("in the scroll of the book/scroll"). This likely refers to the covenant obligations written for the king (cf. Deuteronomy 17:18-20), but the NT reading, following the LXX, sees this as pointing to the entire scriptural witness about the Messiah (Luke 24:44).
Verse 8 states that God's תוֹרָה ("instruction, law") is בְּתוֹךְ מֵעַי -- "within my inward parts," not merely on tablets or scrolls but internalized. This anticipates the new covenant promise of Jeremiah 31:33: "I will put my law within them and write it on their hearts." The delight (חָפַצְתִּי) is genuine desire, not mere compliance.
Verses 9-10 expand on the proclamation: David has publicly testified to God's צְדָקָה ("righteousness"), אֱמוּנָה ("faithfulness"), יְשׁוּעָה ("salvation"), חֶסֶד ("loving devotion, covenant love"), and אֱמֶת ("truth"). These are the core attributes of Israel's God. The five terms together form an almost credal summary of who God is.
Interpretations
Verses 6-8 have generated significant discussion across Christian traditions regarding their relationship to Old Testament sacrifice and their fulfillment in Christ.
Christological reading (Hebrews 10:5-7): The author of Hebrews quotes the LXX version of these verses in the context of arguing that the old covenant sacrificial system was fulfilled and superseded by Christ's once-for-all self-offering. In this reading, Psalm 40 anticipates the Son of God's declaration at his incarnation: he came not to offer animal sacrifices but to do the Father's will through his own body. Protestant interpreters, both Reformed and Arminian, generally accept this typological or direct predictive reading as the authoritative NT interpretation. The LXX's "a body you have prepared for me" is not dismissed as a mistranslation but seen as inspired rendering pointing toward Christ.
Original historical context: In David's own context, the verses express the prophetic emphasis (shared with 1 Samuel 15:22, Isaiah 1:11-17, Hosea 6:6, Amos 5:21-24) that ritual sacrifice without obedience of heart is unacceptable to God. David is not abolishing sacrifice but subordinating it to the inward disposition of willing obedience. This reading does not contradict the Christological reading but provides its foundation: Christ fulfills perfectly what David expressed imperfectly.
Typological relationship: Reformed interpreters (Calvin, Matthew Henry, Spurgeon) tend to see David as a type of Christ whose words find their deepest fulfillment in the Son. Dispensational interpreters may distinguish more sharply between the Davidic original and the NT application, treating the Hebrews quotation as a secondary (applicatory) use of the text. Most Protestant traditions agree that both levels of meaning are real.
Cry for Help (vv. 11-17)
11 O LORD, do not withhold Your mercy from me; Your loving devotion and faithfulness will always guard me. 12 For 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. 13 Be pleased, O LORD, to deliver me; hurry, O LORD, to help me. 14 May those who seek my life be ashamed and confounded; may those who wish me harm be repelled and humiliated. 15 May those who say to me, "Aha, aha!" be appalled at their own shame. 16 May all who seek You rejoice and be glad in You; may those who love Your salvation always say, "The LORD be magnified!" 17 But I am poor and needy; may the Lord think of me. You are my helper and deliverer; O my God, do not delay.
11 O LORD, do not hold back your compassion from me; let your loyal love and your faithfulness always guard me. 12 For evils without number have surrounded me; my iniquities have caught up with me -- I cannot see -- they are more than the hairs of my head, and my heart has abandoned me. 13 Be pleased, O LORD, to rescue me! O LORD, hurry to help me! 14 May those who seek my life be ashamed and humiliated together; may those who delight in my harm be repelled and disgraced. 15 May those who say to me "Aha! Aha!" be desolate in return for their shame. 16 May all who seek you rejoice and exult in you; may those who love your salvation always say, "Great is the LORD!" 17 But I am afflicted and needy -- may the Lord take thought of me! You are my help and my deliverer; O my God, do not delay.
Notes
The psalm pivots dramatically in verse 11. The same God who rescued David from a pit (v. 2) and gave him a new song (v. 3) is now being implored not to withdraw his רַחֲמֶיךָ ("your compassion"). The noun רַחֲמִים comes from the root for "womb" -- it is the tender, maternal compassion of a parent for a vulnerable child. David's past experience of God's faithfulness gives him the language and confidence to appeal to God in a new crisis.
Verse 12 contains a raw confession. David admits that his עֲוֺנֹתַי ("my iniquities") have הִשִּׂיגוּנִי ("overtaken me") -- the verb is from the root נָשַׂג, "to pursue and catch up with." Sin is personified as a pursuer that has finally caught up with the psalmist and overwhelmed him. The result is that he לֹא יָכֹלְתִּי לִרְאוֹת ("cannot see") -- perhaps blinded by grief, shame, or the sheer press of circumstances. The declaration that his heart עֲזָבַנִי ("has forsaken me") uses the same verb as "forsaken" in Psalm 22:1 -- David feels utterly deserted even by his own inner life.
Verse 13 is a turning point. The prayer רְצֵה יְהוָה לְהַצִּילֵנִי ("be pleased, O LORD, to deliver me") asks not merely for rescue but for God's good pleasure -- his willingness, his delight in saving. The urgency of "hurry" (חוּשָׁה) appears frequently in psalmic prayers of distress (Psalm 22:19, Psalm 70:1).
Verses 14-17 are nearly identical to Psalm 70, which carries its own superscription as a separate psalm ("For the choir director. A psalm of David, for a memorial"). The relationship between the two is discussed by scholars in different ways: some believe Psalm 70 was extracted from Psalm 40 for independent liturgical use; others believe both drew from a common prayer tradition; still others hold that Psalm 40's second half was a later addition that incorporated Psalm 70. In any case, the parallels show that this section of prayer was valued by the worshipping community and preserved in multiple forms. Notable differences: Psalm 40:17 uses אֲדֹנָי ("Lord") where Psalm 70 uses אֱלֹהִים ("God"), a textual variation consistent with the known phenomenon of the Elohistic Psalter (Psalms 42-83), which systematically substitutes "Elohim" for the divine name.
Verse 17 closes the psalm with a confession of poverty and neediness -- עָנִי וְאֶבְיוֹן -- a pairing that appears throughout the Psalms (cf. Psalm 70:5, Psalm 86:1) to describe those who have no recourse but God himself. The psalm ends not in resolution but in urgent dependence: "O my God, do not delay." The tension between the thanksgiving of verses 1-5 and the lament of verses 11-17 is not resolved within the psalm. This is theologically significant: the Christian life holds together memory of past deliverance and experience of present need, and both are brought honestly to God.