David begins by crying out to God, whom he calls the God of his righteousness. He recalls that in distress God gave him relief, and he asks for mercy and an answer.
Then he turns to the men who turn his honor into shame, who love vain words and seek after lies. He reminds them that the Lord has set apart the godly for himself and hears when he calls. He urges them to be angry without sinning, to ponder on their beds and be silent, to offer right sacrifices and to trust the Lord.
Many ask who will show them some good. David asks the Lord to lift up the light of his face upon them and confesses that God has put more joy in his heart than others have when grain and wine abound. The psalm ends with a simple prayer: in peace I will lie down and sleep, for you alone make me dwell in safety.