There is a confidence in this psalm in the just purposes of God. The wicked sharpen their tongues as if they were swords (64:3), and there is no doubt that the author has suffered through the verbal attacks of his enemies. But he knows that ultimately, justice will win out: “They are brought to ruin, with their own tongues turned against them; all who see them will wag their heads” (64:8).
Why will all who see them wag their heads? Because the wicked ignored the God who holds justice in his hands. God won’t let the innocent suffer forever. He won’t let the oppressed remain that way. He puts wrongs right. The wicked ignore this reality, and they ignore it at their peril.
Meanwhile, the upright have to endure trial and hardship now, placing their hope in a justice they can’t yet see. That why the psalmist insists: “Let the righteous one rejoice in the LORD and take refuge in him! Let all the upright in heart exult!” (64:10).
We need people around us to insist we rejoice and take refuge in God. We are often tempted to find refuge on our own. We need others around us, helping us fight that temptation, pointing our eyes away from ourselves and our circumstances and toward the God who holds justice in hand. His justice is our refuge, and nothing else.