Aquinas on godly anger

The question put before him is “Whether passion increases or decreases the goodness or malice of an act.”

In response to the objection that it increases the malice, Aquinas notes, “nothing that is obedient to reason lessens the moral good,” with the implication that godly anger/passion can be obedient to reason. (ST, Part 1 of the Second Part, Q. Art. 3)