For you have maintained my just cause; you have sat on the throne, giving righteous judgment.
The title refers to the tune itself, not some historical victory, the disputes over which battle David celebrates here are pointless. Yes, he gives thanks for God's power, but read the whole psalm as prayer: he recalls former deliverances to lift his heart toward confidence that God will do the same against these new enemies rising before him.
AI summary
Commenting on Psalm 9:1-20
One of our nobility has for his motto, "I will maintain it;" but the Christian has a better and more humble one, "Thou hast maintained it." "God and my right, " are united by my faith: while God lives my right shall never be taken from me.
Praise God with your whole heart, not your lips alone, let sincerity and fervor mark it. When one mercy moves you, remember all His former works together. Your joy must pass through the gift and end in the Giver only, never linger on the gift itself. Such joy speaks naturally in song.
AI summary
Commenting on Psalm 9:1-10