Chazal tell us that anger is compared to idol worship. One of the reasons is because neither of them accomplish anything.
It states in Tehillim 115:5 “they have mouths but they can’t speak.”
Anger is also futile as it states in Kidduhsin 41a “whoever becomes angry, all that he has is anger.”
Nothing is accomplished.