As Jesus demonstrated, anger itself is not a sin. There are situations in which anger can be sinful, yes, but on its own, it is often a natural human response to harm. In such cases, when channeled well, anger can lead to deeper communion with God’s Spirit to cocreate a better world.
uscatholic.org
Why did Jesus get angry?
The gospels tell us that Jesus sometimes got angry. But how do we reconcile this with our understanding of the divine nature?