We have here the lively actings of David’s faith in his prayer, by which he was assured that the issue would be comfortable, though the attempt upon him was formidable.
I. He was sure that he had God on his side, that God took his part (Ps. 54:4); he speaks it with an air of triumph and exultation, Behold, God is my helper. If we be for him, he is for us; and, if he be for us, we shall have such help in him that we need not fear any power engaged against us. Though men and devils aim to be our destroyers, they shall not prevail while God is our helper: The Lord is with those that uphold my soul. Compare Ps. 118:7; “The Lord taketh my part with those that help me. There are some that uphold me, and God is one of them; he is the principal one; none of them could help me if he did not help them.” Every creature is that to us (and no more) that God makes it to be. He means, “The Lord is he that upholds my soul, and keeps me from tiring in my work and sinking under my burdens.” He that by his providence upholds all things by his grace upholds the souls of his people. God, who will in due time save his people, does, in the mean time, sustain them and bear them up, so that the spirit he has made shall not fail before him.
II. God taking part with him, he doubted not but his enemies should both flee and fall before him (Ps. 54:5): “He shall reward evil unto my enemies that observe me, seeking an opportunity to do me a mischief. The evil they designed against me the righteous God will return upon their own heads.” David would not render evil to them, but he knew God would: I as a deaf man heard not, for thou wilt hear. The enemies we forgive, if they repent not, God will judge; and for this reason we must not avenge ourselves, because God has said, Vengeance is mine. But he prays, Cut them off in thy truth. This is not a prayer of malice, but a prayer of faith; for it has an eye to the word of God, and only desires the performance of that. There is truth in God’s threatenings as well as in his promises, and sinners that repent not will find it so to their cost.
III. He promises to give thanks to God for all the experiences he had had of his goodness to him (Ps. 54:6): I will sacrifice unto thee. Though sacrifices were expensive, yet, when God required that his worshippers should in that way praise him, David would not only offer them, but offer them freely and without grudging. All our spiritual sacrifices must, in this sense, be free-will-offerings; for God loves a cheerful giver. Yet he will not only bring his sacrifice, which was but the shadow, the ceremony; he will mind the substance: I will praise thy name. A thankful heart, and the calves of our lips giving thanks to his name, are the sacrifices God will accept: “I will praise thy name, for it is good. Thy name is not only great but good, and therefore to be praised. To praise thy name is not only what we are bound to, but it is good, it is pleasant, it is profitable; it is good for us (Ps. 92:1); therefore I will praise thy name.”
IV. He speaks of his deliverance as a thing done (Ps. 54:7): I will praise thy name, and say, “He has delivered me; this shall be my song then.” That which he rejoices in is a complete deliverance—He has delivered me from all trouble; and a deliverance to his heart’s content—My eye has seen its desire upon my enemies, not seen them cut off and ruined, but forced to retreat, tidings being brought to Saul that the Philistines were upon him, 1 Sam. 23:27, 28. All David desired was to be himself safe; when he saw Saul draw off his forces he saw his desire. He has delivered me from all trouble. Either, 1. With this thought David comforted himself when he was in distress: “He has delivered me from all trouble hitherto, and many a time I have gained my point, and seen my desire on my enemies; therefore he will deliver me out of this trouble.” We should thus, in our greatest straits, encourage ourselves with our past experiences. Or, 2. With this thought he magnified his present deliverance when the fright was over, that it was an earnest of further deliverance. He speaks of the completing of his deliverance as a thing done, though he had as yet many troubles before him, because, having God’s promise for it, he was as sure of it as if it had been done already. “He that has begun to deliver me from all troubles, and will at length give me to see my desire upon my enemies.” This may perhaps point at Christ, of whom David was a type; God would deliver him out of all the troubles of his state of humiliation, and he was perfectly sure of it; and all things are said to be put under his feet; for, though we see not yet all things put under him, yet we are sure he shall reign till all his enemies be made his footstool, and he shall see his desire upon them. However, it is an encouragement to all believers to make that use of their particular deliverances which St. Paul does (like David here), 2 Tim. 4:17, 18, He that delivered me from the mouth of the lion shall deliver me from every evil work, and will preserve me to his heavenly kingdom.