29 For by you I can run against a troop, and by my God I can leap over a wall. 30 This God--his way is perfect;[1] the word of the Lord proves true; he is a shield for all those who take refuge in him. 31 For who is God, but the Lord? And who is a rock, except our God?-- 32 the God who equipped me with strength and made my way blameless. 33 He made my feet like the feet of a deer and set me secure on the heights. 34 He trains my hands for war, so that my arms can bend a bow of bronze. 35 You have given me the shield of your salvation, and your right hand supported me, and your gentleness made me great. 36 You gave a wide place for my steps under me, and my feet did not slip. 37 I pursued my enemies and overtook them, and did not turn back till they were consumed. 38 I thrust them through, so that they were not able to rise; they fell under my feet. 39 For you equipped me with strength for the battle; you made those who rise against me sink under me. 40 You made my enemies turn their backs to me,[2] and those who hated me I destroyed. 41 They cried for help, but there was none to save; they cried to the Lord, but he did not answer them. 42 I beat them fine as dust before the wind; I cast them out like the mire of the streets. 43 You delivered me from strife with the people; you made me the head of the nations; people whom I had not known served me. 44 As soon as they heard of me they obeyed me; foreigners came cringing to me. 45 Foreigners lost heart and came trembling out of their fortresses. 46 The Lord lives, and blessed be my rock, and exalted be the God of my salvation-- 47 the God who gave me vengeance and subdued peoples under me, 48 who delivered me from my enemies; yes, you exalted me above those who rose against me; you rescued me from the man of violence. 49 For this I will praise you, O Lord, among the nations, and sing to your name. 50 Great salvation he brings to his king, and shows steadfast love to his anointed, to David and his offspring forever.

Matthew Henry's Commentary on Psalm 18:29-50

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.