Natural Theology
p. 316
It follows from this also that anger and repentance, which have their root in some sadness, cannot be predicated of God properly.
Notwithstanding all this, there is a deep truth in the Scriptural expressions by which on certain occasions sadness, anger, and repentance are attributed to God. But they must be explained as metaphors, as Catholic Doctors have always explained them.
God is said to be angry, because He decrees to inflict penalties on sinners; and thus deals with them as a king on earth might deal with a subject who had provoked his anger. But while the earthly potentate may be really angry, and act out of passion, God is neither liable to the passion of anger, nor can He inflict punishment for the sole object of causing pain. He does not punish save for justice' sake, and that in absolute calmness. Infinite, therefore, is the difference between what is metaphorically called the anger of God, and what is really the anger of man. The one resembles the other, not in its essence, but in its effects.
The same holds good of repentance, attributed to God metaphorically, and existing in man really. Repentance taken in its proper meaning is essentially sorrow and dissatisfaction arising from the consciousness of having done something evil, or omitted something good which should have been done. Such sorrow cannot be genuine, unless it includes the wish and resolution to undo the past mistake as much as possible. This purpose of following another
Cf. St. Thomas, Contra Gentes, i. 89, and 91. § "Sciendum tamen."