“Be angry, and do not sin”: do not let the sun go down on your wrath nor give place to the devil. Ephesians 4:26,27 NKJV
It's interesting that the verses don't say not to ever be angry. There is such a thing as righteous anger. Even Jesus was angry, turning over the tables of the money-changers.