The origins of this psalm are unknown. What can be determined in context is that it was written after the Babylonian Captivity because the author refers to God’s wrath being removed (3), the desolation of the land (12), and the need for God to restore it for the people (13).
Again it is written by a Korahite (as mentioned in Psalm 44). It is played on the Gittith. This psalm of national lament can be divided into three parts.
Verses 1-3-The writer is expressing his thanks to God for delivering them from the Babylonian Captivity and forgiving their sins.
Selah-The writer wants us to pause and think about how God has restored us and has forgiven us of our sins. Pause, take a moment, and meditate on what God has done for you. As a Christian we have much to be thankful for; so, what are you thankful for in terms of what God has done for you?
The writer then continues with what God has done in terms of showing His mercy by removing His discipline.
Verses 4-7-The writer knows the sins of the nation brought God’s discipline on them. He knows that until God restores them to their land and brings normalcy, the effects of God’s wrath are still on them. Until they are back in the land, until they are “revived” (given new life), until they have experienced God’s salvation, they still feel the effects of God’s discipline. He desires that God’s name be proclaimed because of what God has done (Habakkuk 3.2) not because of the sins of the people.
Verses 8-13-The anticipation of God’s answer is evident in verses 8-9. It is based on His Word (repentant people calling to Him) and His character. Isaiah 32.17 describes that closeness that righteousness and peace have with each other. There is no peace unless righteousness comes.
When we turn to God in repentance for our known sins, He restores right fellowship with Him. In doing this, He brings peace. As we dwell on what He has required, He is present, which is peace (Philippians 4.8-9).