New International Version
For the director of music. Of David. A psalm.
1 I waited patiently(B) for the Lord;
he turned to me and heard my cry.(C)
2 He lifted me out of the slimy pit,(D)
out of the mud(E) and mire;(F)
he set my feet(G) on a rock(H)
and gave me a firm place to stand.
3 He put a new song(I) in my mouth,
a hymn of praise to our God.
Many will see and fear the Lord(J)
and put their trust(K) in him.
4 Blessed is the one(L)
who trusts in the Lord,(M)
who does not look to the proud,(N)
to those who turn aside to false gods.[b](O)
5 Many, Lord my God,
are the wonders(P) you have done,
the things you planned for us.
None can compare(Q) with you;
were I to speak and tell of your deeds,
they would be too many(R) to declare.
6 Sacrifice and offering you did not desire—(S)
but my ears you have opened[c]—(T)
burnt offerings(U) and sin offerings[d] you did not require.
7 Then I said, “Here I am, I have come—
it is written about me in the scroll.[e](V)
8 I desire to do your will,(W) my God;(X)
your law is within my heart.”(Y)
9 I proclaim your saving acts(Z) in the great assembly;(AA)
I do not seal my lips, Lord,
as you know.(AB)
10 I do not hide your righteousness in my heart;
I speak of your faithfulness(AC) and your saving help.
I do not conceal your love and your faithfulness
from the great assembly.(AD)
11 Do not withhold your mercy(AE) from me, Lord;
may your love(AF) and faithfulness(AG) always protect(AH) me.
12 For troubles(AI) without number surround me;
my sins have overtaken me, and I cannot see.(AJ)
They are more than the hairs of my head,(AK)
and my heart fails(AL) within me.
13 Be pleased to save me, Lord;
come quickly, Lord, to help me.(AM)
14 May all who want to take my life(AN)
be put to shame and confusion;(AO)
may all who desire my ruin(AP)
be turned back in disgrace.
15 May those who say to me, “Aha! Aha!”(AQ)
be appalled at their own shame.
16 But may all who seek you(AR)
rejoice and be glad(AS) in you;
may those who long for your saving help always say,
“The Lord is great!”(AT)
King James Version
40 I waited patiently for the Lord; and he inclined unto me, and heard my cry.
2 He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings.
3 And he hath put a new song in my mouth, even praise unto our God: many shall see it, and fear, and shall trust in the Lord.
4 Blessed is that man that maketh the Lord his trust, and respecteth not the proud, nor such as turn aside to lies.
5 Many, O Lord my God, are thy wonderful works which thou hast done, and thy thoughts which are to us-ward: they cannot be reckoned up in order unto thee: if I would declare and speak of them, they are more than can be numbered.
6 Sacrifice and offering thou didst not desire; mine ears hast thou opened: burnt offering and sin offering hast thou not required.
7 Then said I, Lo, I come: in the volume of the book it is written of me,
8 I delight to do thy will, O my God: yea, thy law is within my heart.
9 I have preached righteousness in the great congregation: lo, I have not refrained my lips, O Lord, thou knowest.
10 I have not hid thy righteousness within my heart; I have declared thy faithfulness and thy salvation: I have not concealed thy lovingkindness and thy truth from the great congregation.
11 Withhold not thou thy tender mercies from me, O Lord: let thy lovingkindness and thy truth continually preserve me.
12 For innumerable evils have compassed me about: mine iniquities have taken hold upon me, so that I am not able to look up; they are more than the hairs of mine head: therefore my heart faileth me.
13 Be pleased, O Lord, to deliver me: O Lord, make haste to help me.
14 Let them be ashamed and confounded together that seek after my soul to destroy it; let them be driven backward and put to shame that wish me evil.
15 Let them be desolate for a reward of their shame that say unto me, Aha, aha.
16 Let all those that seek thee rejoice and be glad in thee: let such as love thy salvation say continually, The Lord be magnified.
17 But I am poor and needy; yet the Lord thinketh upon me: thou art my help and my deliverer; make no tarrying, O my God.