While being angry is not a sin, all too often our reactions to anger are sinful or lead to sin. God and Christ set an example of what godly anger looks like - they are angry when there is evil and injustice, and their anger is "for a moment" - they don't allow it to fester. Allowing anger to reside in our minds leads to bitterness and other negative, ungodly results.