One word that is coming to me is spitespite which according to Merriam Webster means.
a desire to harmpetty ill will or defeat another person especially because you feel that you have been treated wrongly in some wayhatred with the disposition to irritate, annoy, or thwart
[MW]