to do sth when you are angry that is meant to harm sb else but which also harms you
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition