For the director of music. Of David. A psalm.

1 aI waited patiently for the LORD; he turned to me and heard my cry.
References for Psalms 40:1
    • ¸ 40:1 - In Hebrew texts 40:1-17 is numbered 40:2-18.
      2 He lifted me out of the slimy pit, out of the mud and mire; he set my feet on a rock and gave me a firm place to stand.
      References for Psalms 40:2
      3 He put a new song in my mouth, a hymn of praise to our God. Many will see and fear the LORDand put their trust in him.
      4 Blessed is the one who trusts in the LORD, who does not look to the proud, to those who turn aside to false gods.b
      5 Many, LORD my God, are the wonders you have done, the things you planned for us. None can compare with you; were I to speak and tell of your deeds, they would be too many to declare.
      6 Sacrifice and offering you did not desire— but my ears you have openedc — burnt offerings and sin offeringsd you did not require.
      References for Psalms 40:6
        • º 40:6 - Hebrew; some Septuagint manuscripts "but a body you have prepared for me"
        • » 40:6 - Or "purification offerings"
          7 Then I said, “Here I am, I have come— it is written about me in the scroll.e
          References for Psalms 40:7
            • ¼ 40:7 - Or "come" / "with the scroll written for me"
              8 I desire to do your will, my God; your law is within my heart.”
              9 I proclaim your saving acts in the great assembly; I do not seal my lips, LORD, as you know.
              References for Psalms 40:9
              10 I do not hide your righteousness in my heart; I speak of your faithfulness and your saving help. I do not conceal your love and your faithfulness from the great assembly.
              References for Psalms 40:10
              11 Do not withhold your mercy from me, LORD; may your love and faithfulness always protect me.
              References for Psalms 40:11
              12 For troubles without number surround me; my sins have overtaken me, and I cannot see. They are more than the hairs of my head, and my heart fails within me.
              13 Be pleased to save me, LORD; come quickly, LORD, to help me.
              References for Psalms 40:13
              14 May all who want to take my life be put to shame and confusion; may all who desire my ruin be turned back in disgrace.
              References for Psalms 40:14
              15 May those who say to me, “Aha! Aha!” be appalled at their own shame.
              References for Psalms 40:15
              16 But may all who seek you rejoice and be glad in you; may those who long for your saving help always say, “The LORD is great!”
              17 But as for me, I am poor and needy; may the Lord think of me. You are my help and my deliverer; you are my God, do not delay.