29 For by you, I advance through a troop.
By my God, I leap over a wall. 30 As for God, his way is perfect.
The word of Yahweh is tried.
He is a shield to all those who take refuge in him. 31 For who is God, except Yahweh?
Who is a rock, besides our God, 32 the God who arms me with strength, and makes my way perfect? 33 He makes my feet like deer’s feet,
and sets me on my high places. 34 He teaches my hands to war,
so that my arms bend a bow of bronze. 35 You have also given me the shield of your salvation.
Your right hand sustains me.
Your gentleness has made me great. 36 You have enlarged my steps under me,
My feet have not slipped. 37 I will pursue my enemies, and overtake them.
Neither will I turn again until they are consumed. 38 I will strike them through, so that they will not be able to rise.
They shall fall under my feet. 39 For you have girded me with strength to the battle.
You have subdued under me those who rose up against me. 40 You have also made my enemies turn their backs to me,
that I might cut off those who hate me. 41 They cried, but there was none to save;
even to Yahweh, but he didn’t answer them. 42 Then I beat them small as the dust before the wind.
I cast them out as the mire of the streets. 43 You have delivered me from the strivings of the people.
You have made me the head of the nations.
A people whom I have not known shall serve me. 44 As soon as they hear of me they shall obey me.
The foreigners shall submit themselves to me. 45 The foreigners shall fade away,
and shall come trembling out of their close places. 46 Yahweh lives; and blessed be my rock.
Exalted be the God of my salvation, 47 even the God who executes vengeance for me,
and subdues peoples under me. 48 He rescues me from my enemies.
Yes, you lift me up above those who rise up against me.
You deliver me from the violent man. 49 Therefore I will give thanks to you, Yahweh, among the nations,
and will sing praises to your name. 50 He gives great deliverance to his king,
and shows loving kindness to his anointed,
to David and to his seed, forevermore.

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.