1.

I waited patiently for the LORD; and he inclined unto me, and heard my cry.

Psalms 40.
The benefit of confidence in God. Obedience is the best sacrifice. The sense of David's evils inflameth his prayer.
To the chief Musician, A Psalm of David.
Title. מזמור לדוד למנצח lamnatseach ledavid mizmor Though this psalm, in its primary sense, may be applicable to the sickness which God had inflicted on David, and the distress to which he was reduced by his enemies (see the two foregoing psalms), in devout thankfulness for deliverance from both of which he may here be supposed to declare his resolution to serve God cheerfully and faithfully; yet some passages in it may be much better applied to Christ's readiness to do the will of his Father. Certain it is, that part of the psalm at least was prophetical, and related to our Saviour, to whom it is applied by the apostle. Hebrews 10.

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.

Psalms 40:2. Out of an horrible pit As David often compares himself in distress to a sinking and drowning man; so here he compares the affliction from which he had been relieved, to that of a man thrown into some loathsome and nauseous dungeon, with much filth in it; such a one, we will suppose, as Jeremiah was cast into, chap. Psalms 38:6. Mudge, observing that this is a metaphorical way of speaking familiar to the sacred writers, adds, "Though, perhaps, it may here be literal, and Jeremiah the author of the psalm after he had been delivered from his dungeon."

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.

Psalms 40:4. Respecteth not the proud The proud, and those who incline to lies, are, on one side, the haughty daring atheists, who laugh at all application to any power above; and on the other, those who put their confidence in idol-superstitions, which are all a lie and deceit. Mudge.

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.

Psalms 40:5. Many, &c.— Many things hast thou done, O Lord, my God: thy wonders and thy thoughts towards us, I am not able to set in order before thee.

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.

Psalms 40:9. I have preached righteousness The person speaking here declares that he has done what God required. If we understand it of David, the benefits and mercies which God had vouchsafed to him and his people must be meant by righteousness; but if of Christ, as seems most proper, then it must refer to the righteousness of God revealed by faith, and made known by Jesus Christ to his church.

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.

Psalms 40:15. Let them, &c.— They shall be desolate {with their own shame for a reward of their turpitude.} Green renders it, after Bishop Hare, Let those who say, unto me, aha, aha, instantly return back with shame.
REFLECTIONS.—1st, None ever yet trusted in God, and were confounded. The Psalmist acknowledges, by blessed experience, that in his deepest distress God had not failed him. I waited patiently for the Lord; though his burden was heavy, and help long delayed, he fainted not, but cried unto God, and God heard and answered him. He brought me up also out of the horrible pit of despondence, and out of the miry clay, in which he had been fastened, and set my feet upon a rock, where his faith was strengthened and confirmed, and established my goings, that no power of evil might be able to turn him aside. Then was his mouth filled with joy; he hath put a new song of praise into my mouth; and from his own experience he doubted not but others would be encouraged to exercise the same faith; many shall see it and fear, and shall trust in the Lord; and whoever so doth, renouncing every other confidence, will be found truly blessed and happy. Thus Jesus waited on God, when agonizing in the garden, and bleeding on the tree: horrible indeed was the pit in which he lay, when, loaded with the guilt of all our iniquities, the pains of hell gat hold upon him; but he cried, and God heard him. From the grave he brought him up, raised him to the throne of glory, firm as a rock, and established as the days of eternity. With everlasting joy upon his head, there he reigns; and all his people, renouncing every other hope of righteousness, and every lying vanity which would draw off the singleness of their eye from him, look to him, trust in him, fear him, and find themselves blessed in so doing. This relieves their despondence, rescues them from the horrible pit of hell, raises their hearts from melancholy fears to confidence, and changes their voice from mourning to praise; rejoicing in Christ Jesus, in his sufferings, intercession, and infinite merit, and deriving from thence joy unspeakable and full of glory.
2nd. Then follow the words of the Divine Redeemer the song of praise put into his mouth. Many and wonderful are the works of God, wonders of creation and providence, admirably ordered and disposed with infinite wisdom, all designed for the good of men, and so innumerable, that we are lost in the vast abyss, and know not where to begin or where to end the song of praise: but one more eminent, more transcendantly glorious than all the rest, stands forth, and claims peculiar admiration. Great is the work of worlds, spoke into being at a word; great the upholding power which still preserves and regulates with wondrous harmony the vast creation; but greater far the vast design and wonderous execution of man's redemption, by the incarnation, sufferings, and death of God's eternal Son.
1. The insufficiency of all ceremonial sacrifices is here intimated, and their utterly ceasing to be offered when the oblation of Jesus once for all should abolish these shadows. They were indeed of divine institution, but all their efficacy lay in directing the offerer's faith to the vicarious sufferings of the Son of God: for their own sakes they were never acceptable to God, who could take no delight in the blood of bulls; nor could they ever pacify the sinner's conscience, which required a better sacrifice than these to take away sin.
2. The voluntary oblation of Christ, in consequence of the divine designation, is mentioned. Mine ears hast thou opened, or, as the apostle quotes it, a body hast thou prepared me, and this his choice: it was not what he was obliged to, but by voluntary engagement, and the constrainings of mighty love towards miserable man. But, having once engaged, he ratifies the agreement, professes his readiness to abide by it; yea, takes delight in executing it; and from his heart is ready to fulfil all the will of God respecting his mediatorial work, whether by obedience or sufferings. Note; If Christ so readily engaged for us, what gratitude and willing subjection do we owe him in return?
3. He became himself the great preacher of the redemption that he wrought out; in which also God's faithfulness to his promises appeared, and his transcendant loving-kindness to the children of men. These Jesus declared, nor kept back from us any thing of the whole counsel of God. Blessed be his name, that his divine sermons have reached unto us: oh! that we may experience divine teaching also, and read so as to understand.
3rdly, Though the latter part of this psalm may refer to the Psalmist's case, as resuming his prayer in the view of the glorious redemption accomplished for him, yet it may be also well applied to the Redeemer himself.
1. In executing his work, he must bear our sins, and carry our sorrows; and under these he complains and cries for help. Though in himself without sin, holy and harmless, yet when he appeared in our nature he became sin for us, that is to say, an offering for sin, for all our sins; so that, in this view, never was a guilty soul so heavy laden: more than human strength was needful to support the dreadful load; the humanity fainted, but by the eternal Spirit he was upheld. He prays, and pleads the truth and grace engaged to support him through his sufferings; and, as his distress is urgent, he cries for present and immediate help, and was heard because he feared. Note; (1.) Since Jesus sunk not under the load of the sins of the world, shall our sins lead us to despair? God forbid. (2.) They who continue to trust in the Divine faithfulness, may depend upon seeing the fulfilment of the promises. (3.) There is a throne of grace open, and through Jesus we may come boldly; no tender mercy will be withheld, no kindness refused, no help delayed, when through his name we pray in faith.
2. He prays for, or prophecies, the confusion of all his enemies, which he foresees ready to be accomplished. The powers of hell which sought to destroy him, must fall as lightning before him; the Jews who at his crucifixion cried insultingly, "Aha, so would we have it," are long since desolate to their shame, dispersed among all the nations, and every where a proverb of reproach; and all his foes, whether fallen angels or impenitent sinners, must at the last day feel the effects of his indignation, driven backward into hell, and covered with everlasting confusion. Note; All the afflictions of a saint of God, however Satan and his enemies may insult over him, shall terminate to his comfort and their confusion.
3. He prays for his faithful ones, those that love thy salvation; love him, the author of it, and delight in the gracious way in which it is accomplished for them, and bestowed upon them; and seek thee, make God's will their rule, God's glory their end, and the enjoyment of God their sovereign happiness. Let them rejoice, on earth beginning the song of praise, and to eternity crying continually, the Lord be magnified.
4. He concludes with a believing resignation of himself to God. Though he was rich, for our sakes he became poor and needy; yet the Lord regarded him in his low estate; and therefore, trusting in his saving help and deliverance, he cries to him to make no delay. Note; (1.) Our spiritual poverty is great; but we have an inexhaustible treasury, which the key of prayer can unlock. (2.) In every trial, let us not think the time long; the promise is sure to persevering faith, the moment hasting by, time expiring, eternity approaching, and there the consummate happiness and glory of the faithful shall be accomplished.

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.