"And they adored", it says, "strange gods, the gods of the nations who were round about them, and they provoked the Lord to anger". See how much sins accomplish, that we who sin are said to provoke to anger him in whom there is not only no affection of anger, but not even any other passible movement. Truly he remains unchangeable in his nature and is never disturbed by the affections of anger; but I, through the things in which I transgress, decree anger for myself, just as the Apostle says, teaching this very thing: "but according to your hardness and impenitent heart you treasure up", he say...s, "for yourself wrath in the day of wrath and of the revelation of the just judgment of God, who will render to each one according to his works".
Source: HOMILIES ON JUDGES 2