17 He rescued me from my powerful enemies, from those who hated me and were too strong for me. 18 They attacked me at a moment when I was in distress, but the Lord supported me. 19 He led me to a place of safety; he rescued me because he delights in me.

20 The Lord rewarded me for doing right; he restored me because of my innocence. 21 For I have kept the ways of the Lord ; I have not turned from my God to follow evil. 22 I have followed all his regulations; I have never abandoned his decrees. 23 I am blameless before God; I have kept myself from sin. 24 The Lord rewarded me for doing right. He has seen my innocence. 25 To the faithful you show yourself faithful; to those with integrity you show integrity. 26 To the pure you show yourself pure, but to the crooked you show yourself shrewd. 27 You rescue the humble, but you humiliate the proud. 28 You light a lamp for me. The Lord, my God, lights up my darkness.

29 In your strength I can crush an army; with my God I can scale any wall. 30 God's way is perfect. All the Lord 's promises prove true. He is a shield for all who look to him for protection. 31 For who is God except the Lord ? Who but our God is a solid rock? 32 God arms me with strength, and he makes my way perfect. 33 He makes me as surefooted as a deer, enabling me to stand on mountain heights. 34 He trains my hands for battle; he strengthens my arm to draw a bronze bow. 35 You have given me your shield of victory. Your right hand supports me; your help has made me great. 36 You have made a wide path for my feet to keep them from slipping. 37 I chased my enemies and caught them; I did not stop until they were conquered. 38 I struck them down so they could not get up; they fell beneath my feet.

Matthew Henry's Commentary on Psalm 18:17-38

Commentary on Psalm 18:1-19

(Read Psalm 18:1-19)

The first words, "I will love thee, O Lord, my strength," are the scope and contents of the psalm. Those that truly love God, may triumph in him as their Rock and Refuge, and may with confidence call upon him. It is good for us to observe all the circumstances of a mercy which magnify the power of God and his goodness to us in it. David was a praying man, and God was found a prayer-hearing God. If we pray as he did, we shall speed as he did. God's manifestation of his presence is very fully described, Hebrews 5:7. God made the earth to shake and tremble, and the rocks to cleave, and brought him out, in his resurrection, because he delighted in him and in his undertaking.

Commentary on Psalm 18:20-28

(Read Psalm 18:20-28)

Those that forsake the ways of the Lord, depart from their God. But though conscious to ourselves of many a false step, let there not be a wicked departure from our God. David kept his eye upon the rule of God's commands. Constant care to keep from that sin, whatever it be, which most easily besets us, proves that we are upright before God. Those who show mercy to others, even they need mercy. Those who are faithful to God, shall find him all that to them which he has promised to be. The words of the Lord are pure words, very sure to be depended on, and very sweet to be delighted in. Those who resist God, and walk contrary to him, shall find that he will walk contrary to them, Leviticus 26:21-24. The gracious recompence of which David spoke, may generally be expected by those who act from right motives. Hence he speaks comfort to the humble, and terror to the proud; "Thou wilt bring down high looks." And he speaks encouragement to himself; "Thou wilt light my candle:" thou wilt revive and comfort my sorrowful spirit; thou wilt guide my way, that I may avoid the snares laid for me. Thou wilt light my candle to work by, and give me an opportunity of serving thee. Let those that walk in darkness, and labour under discouragements, take courage; God himself will be a Light to them.

Commentary on Psalm 18:29-50

(Read Psalm 18:29-50)

When we praise for one mercy, we must observe the many more, with which we have been compassed all our days. Many things had contributed to David's advancement, and he owns the hand of God in them all, to teach us to do likewise. In verse 32, and the following verses, are the gifts of God to the spiritual warrior, whereby he is prepared for the contest, after the example of his victorious Leader. Learn that we must seek release being made through Christ, shall be rejected. In David the type, we behold out of trouble through Christ. The prayer put up, without reconciliation Jesus our Redeemer, conflicting with enemies, compassed with sorrows and with floods of ungodly men, enduring not only the pains of death, but the wrath of God for us; yet calling upon the Father with strong cries and tears; rescued from the grave; proceeding to reconcile, or to put under his feet all other enemies, till death, the last enemy, shall be destroyed. We should love the Lord, our Strength, and our Salvation; we should call on him in every trouble, and praise him for every deliverance; we should aim to walk with him in all righteousness and true holiness, keeping from sin. If we belong to him, he conquers and reigns for us, and we shall conquer and reign through him, and partake of the mercy of our anointed King, which is promised to all his seed for evermore. Amen.