Psalms 18:16-26

16 He sent from above, he took me, he drew me out of many waters.
17 He delivered me from my strong enemy, and from those who hated me, even though they were too strong for me.
18 They were ready for me in the day of my calamity, but the LORD was my staff.
19 He brought me forth also into a wide place; he delivered me because he delighted in me.
20 The LORD will reward me according to my righteousness; according to the cleanness of my hands he shall recompense me.
21 Because I have kept the ways of the LORD and did not become wicked departing in apostasy from my God.
22 For all his judgments were before me, and I did not put away his statutes from me.
23 I was perfect before him, and I kept myself from my iniquity.
24 Therefore the LORD has recompensed me according to my righteousness, according to the cleanness of my hands before his eyes.
25 With the merciful thou wilt show thyself merciful; with a perfect man thou wilt show thyself perfect;
26 with the pure thou wilt show thyself pure; and with the perverse thou wilt show thyself adversary.

Psalms 18:16-26 Meaning and Commentary

To the chief Musician, [a Psalm] of David. This is the same with that in 2 Samuel 22:1, with some variations, omissions, and alterations:

the servant of the Lord; not only by creation, nor merely by regeneration, but by office, as king of Israel, being put into it by the Lord, and acting in it in submission and obedience to him; just as the apostles under the New Testament, on account of their office, so style themselves in their epistles:

who spake unto the Lord the words of this song; that is, who delivered and sung this song in so many express words, in public, before all the congregation of Israel, to the honour and glory of God:

in the day [that] the Lord delivered him from the hand of all his enemies, and from the hand of Saul, Not that this psalm was composed and sung the selfsame day that David was delivered from Saul, and set upon the throne; for it seems to have been written in his old age, at the close of his days; for immediately after it, in the second book of Samuel, it follows, "now these be the last words of David," 2 Samuel 23:1: but the sense is, that whereas David had many enemies, and particularly Saul, who was his greatest enemy, the Lord delivered him from them all, and especially from him, from him first, and then from all the rest; which when he reflected upon in his last days, he sat down and wrote this psalm, and then sung it in public, having delivered it into the hands of the chief musician for that purpose. There are two passages cited out of it in the New Testament, and applied to Christ; Psalm 18:2, in Hebrews 2:13, and Psalm 18:49 in Romans 15:9; and there are many things in it that very well agree with him; he is eminently the "servant" of the Lord as Mediator; he was encompassed with the snares and sorrows of death and hell, and with the floods of ungodly men, when in the garden and on the cross God was his helper and deliverer, as man; and he was victorious over all enemies, sin, Satan, the world, death and hell; as the subject of this psalm is all along represented: and to Christ it does most properly belong to be the head of the Heathen, whose voluntary subjects the Gentiles are said to be, Psalm 18:43; and which is expressed in much the same language as the like things are in Isaiah 55:4; which is a clear and undoubted prophecy of the Messiah; to which may be added, that the Lord's Anointed, the King Messiah, and who is also called David, is expressly mentioned in Psalm 18:50; and which is applied to the Messiah by the Jews {q} as Psalm 18:32 is paraphrased of him by the Targum on it;

and he said; the following words:

{q} Echa Rabbati, fol. 50. 2. & Midrash Tillim in Tzeror Hammor, fol. 47. 3.
The Jubilee Bible (from the Scriptures of the Reformation), edited by Russell M. Stendal, Copyright © 2000, 2001, 2010