The Lord said, “Is it right for you to be angry?”
Anger curdles the heart, rages in the mind, blinds, causes hurt to one and all; anger is the opposite of peace. Even a prophet can be self-obsessed, selfish, and must then 'work harder' at Liberation.
God said to Jonah, “Is it right for you to be angry about the bush?” And he said, “Yes, angry enough to die.” Then the Lord said, “You are concerned about the bush, for which you did not labor and which you did not grow; it came into being in a night and perished in a night.
Learn from suffering as Jonah might learn. A mind self-absorbed, ego bemoans its situation, pain, discomfort, not getting what it wants, it spins out into spite, wrath, a tantrum. Natural Law (a plant grows; a plant dies) is forgotten and every event becomes all about me. There is no peace in the mind. The heart slams shut.
Giving up ill will and malevolence, a disciple meditates with a mind rid of ill will, full of compassion for all living beings, cleansing the mind of ill will... As long as [mental] hindrances are not given up inside themselves, a disciple regards them as a debt, a disease, a prison, slavery, and a desert crossing. But when the hindrances are given up inside themselves, a mendicant regards this as freedom from debt, good health, release from prison, emancipation, and sanctuary.
-Buddha, sutta MN 39/DN 2, adapted.