The psalmist calls for thanksgiving and praise from people in despair over the consequences of their rebellion.