A time when God's anger was on you has passed, you're free again, and you want to give thanks.
When God's anger has passed at last and your captivity is over, and you want to give thanks, you have Psalms 85 and 126.
Letter to Marcellinus
For the same situation he also named Psalm 126.