To help us gain further benefit from the Word of God in Psalm 79, we also provide this quote from John Calvin on Psalm 79:8-9:
8 Remember not against us the iniquities of former times. The godly Jews here confirm the sentiment which they had before briefly and obscurely touched upon, namely, that they had justly deserved the chastisements which had been inflicted upon them. And they present this prayer, because they could only get relief from their calamities by obtaining reconciliation with God. This is the sovereign remedy for every kind of adversity; for so long as he is angry with us even our prosperity turns out to be unproductive of advantage and happiness.
9 Help O God of our salvation! They again repeat in this verse, that whatever afflictions they endured were to be traced to the anger of God, and that they could have no comfort under them unless He were reconciled to them. Being deeply sensible that they had committed many transgressions, to strengthen their hope of obtaining pardon, they employ a variety of expressions. In the first place, as an argument to induce God to show them favor, they address him as the God of their salvation. In the second place, they testify that they bring nothing of their own to influence him to have mercy upon them; and that the only plea which they present before him is his own glory. From this we learn, that sinners are not reconciled to God by satisfactions or by the merit of good works, but by a free and an unmerited forgiveness. The observation which I have made a little before, and which I have explained more at length on the sixth psalm, is here to be kept in mind, — That when God visits us with the rod, instead of being merely desirous to be relieved from external chastisements, our chief concern ought to be to have God pacified towards us: nor should we follow the example of foolish sick persons, who are anxious to have merely the symptoms of their disease removed, and make no account of being delivered from the source and cause of it.