Buddha said this quote

You will not be punished for your anger, you will be punished by your anger.