You have made my enemies retreat before me; I destroyed those who hated me.
David came to the throne through almost insurmountable trials, and foreign enemies harassed him even into old age. Rather than boast of his own victories, he exalts God as the true author of them, showing that his reign prefigures Christ's kingdom, one that will triumph over all resistance by the Father's incomprehensible power.
AI summary
Commenting on Psalm 18:1-50
Some repetitions are not vain repetitions. Second thoughts upon God's mercy should be and often are the best. Like wines on the lees our gratitude grows stronger and sweeter as we meditate upon divine goodness. The verses which we have now to consider are the ripe fruit of a thankful spirit; they are apples of gold as to matter, and they are placed in baskets...
Commenting on Psalm 18:29
It is impossible to be too frequent in the duty of ascribing all our victories to the God of our salvation. It is true that we have to wrestle with our spiritual antagonists, but the triumph is far more the Lord's than ours.
Commenting on Psalm 18:39