You have rebuked the nations, You have destroyed the wicked; You have blotted out their name forever and ever. … But the LORD shall endure forever; He has prepared His throne for judgment. He shall judge the world in righteousness, and He shall administer judgment for the peoples in uprightness.
David does not name the enemies he was facing in this psalm, so readers throughout the generations have been able to plug their own enemies into this passage. Not naming them also fits in with the psalm’s message: The enemies will be forgotten and their destructive ways will be finished forever. But God will never be forgotten and will always be praised for His righteousness and justice.
One of the deepest cries of the human heart is the cry for justice. Unfairness, bullying, oppression and corruption have been the default state of humanity apart from God. We can praise God for His unwavering justice. But, since we also have been enemies of God by sinning, we can be eternally grateful for His unfathomable mercy.
Read more about God’s justice (and His mercy) in the article “Purpose of Prophecy.”