The psalm opens with a request that recalls the blessing the priests pronounced over the people: that God be gracious to us, bless us and make his face to shine upon us. Right away the purpose appears: that his way be known on earth and his saving power among all nations.
Then comes the first refrain: let the peoples praise you, O God; let all the peoples praise you. Verse 4 explains why the nations will be glad and sing for joy: God judges the peoples with equity and guides the nations of the earth. It is a joy grounded in the justice of a God who governs well.
The refrain is repeated in verse 5. Then the psalm returns to the theme of blessing: the earth has yielded its increase, and God, our God, will bless us. The last line takes up the purpose of the whole poem: God shall bless us, and all the ends of the earth shall fear him.