Psalms 40:9-17

9 I have proclaimed tidings of righteousness In the great assembly, lo, my lips I restrain not, O Jehovah, Thou hast known.
10 Thy righteousness I have not concealed In the midst of my heart, Thy faithfulness and Thy salvation I have told, I have not hidden Thy kindness and Thy truth, To the great assembly.
11 Thou, O Jehovah, restrainest not Thy mercies from me, Thy kindness and Thy truth do continually keep me.
12 For compassed me have evils innumerable, Overtaken me have mine iniquities, And I have not been able to see; They have been more than the hairs of my head, And my heart hath forsaken me.
13 Be pleased, O Jehovah, to deliver me, O Jehovah, for my help make haste.
14 They are ashamed and confounded together, Who are seeking my soul to destroy it, They are turned backward, And are ashamed, who are desiring my evil.
15 They are desolate because of their shame, Who are saying to me, `Aha, aha.'
16 All seeking Thee rejoice and are glad in Thee, Those loving Thy salvation say continually, `Jehovah is magnified.'
17 And I [am] poor and needy, The Lord doth devise for me. My help and my deliverer [art] Thou, O my God, tarry Thou not.

Psalms 40:9-17 Meaning and Commentary

To the chief Musician, a Psalm of David. Jarchi interprets this psalm of the Israelites, and of their deliverance and song at the Red sea. The title of it, in the Syriac version, is, "A psalm of David according to the letter, when Shemaiah brought the names of those who minister in the house of the Lord;" see 1 Chronicles 24:6; according to Kimchi, the subject of this psalm is the same with that of the two preceding; and R. Obadiah thinks it was composed by David, when he was recovered of a leprosy; but though it might be written by David, it was not written concerning himself, or on his own account, but of another. The title of this psalm is somewhat different from others in the order of the words; whereas it is usually put "a psalm of," or "for David"; here it is, "for David, a psalm"; and may be rendered, as Ainsworth observes, "a psalm concerning David"; not literally, but typically understood; not concerning David himself, but concerning his antitype and son, who is called by his name, Ezekiel 37:24; and that it is to be interpreted of him is evident from the application of Psalm 39:6, unto him by the apostle in Hebrews 10:5; and the whole of it is applicable to him; some apply it to Jeremiah in the dungeon, and others to Daniel in the den, as Theodoret observes.
Young's Literal Translation is in the public domain.