Ephesians 4:26 (NLTse)  And “don’t sin by letting anger control you.” Don’t let the sun go down while you are still angry,
… We must be careful not to justify our anger with Scripture. Ep 4:31 commands us to put away all anger. That does not mean that we cease to have strong convictions or lose our desire for justice. It does mean we refuse to allow the sins of others to cause us to sin. Anger does not bring about God’s redemptive work; far more often it hinders what God is working to accomplish.
If you feel that you have a righteous anger because of something that has happened, see if you are holding anger in your heart without sin. Is your anger turning into bitterness? Is your anger causing you to speak in an unchristian manner to someone or to gossip about them? Is your anger causing you to make excuses for your own ungodly behavior? Is your anger preventing you from acting in a loving, redemptive, and Christlike way toward someone? …
Ephesians 4:31 (NLTse)  Get rid of all bitterness, rage, anger, harsh words, and slander, as well as all types of evil behavior.