“If you become angry, do not let your anger lead you into sin, and do not stay angry all day. Don't give the Devil a chance.” (Ephesians 4:26-27 GNT)
Anger in itself is not a sin since “God is… angry with the wicked every day.” (Psalm 7:11) Anger is sinful when it flares without reflection; when it is disproportionate to the offense; when it lasts too long and becomes revengeful.
-- From the New Unger’s Bible Dictionary
#5080