The psalm begins with a communal thanksgiving: we give thanks to you, O God, for your name is near; people recount your wondrous deeds. In verses 2 and 3 God speaks. He says that at the set time he will judge with equity. Though the earth and all its inhabitants melt, he keeps its pillars steady. It is a word of assurance: when everything seems to collapse, God upholds the order.
In verses 4 and 5, God, or the psalmist in his name, tells the boastful not to boast and the wicked not to lift up the horn or speak with haughty neck. It is a warning against arrogance.
Verses 6 to 8 explain the reason: not from the east or the west or from the wilderness comes lifting up. God is the judge; he puts one down and lifts up another. In the hand of the Lord there is a cup with foaming wine, well mixed, and he pours it out; its dregs all the wicked of the earth shall drain and drink.
The psalm closes with the psalmist's response: he will declare it forever and sing praises to the God of Jacob. God will cut off all the horns of the wicked, but the horns of the righteous will be lifted up.