The psalm begins with praise, acknowledging God’s goodness and faithfulness to his people in days of old. In verses 1–8, the psalmist declares that their ancestors flourished and defeated their enemies not because of their skill, but because of God’s intervention. God delighted in Israel and put their enemies to shame, and his people praised his name. It was all God’s doing, as verse 3 says:
Not by their own sword did they win the land, nor did their own arm save them, but your right hand and your arm, and the light of your face, for you delighted in them.
Then the psalmist reiterates his present faithfulness to God. He doesn’t trust in his own resources, in his sword and bow, but it is only through God that they can be victorious. And they will boast in God and give thanks to him forever.