Everyone rationalizes their emotional responses. Hangry. Rush-hour impatience in traffic. If you can avoid it, never appear before a judge just before lunch or the end of the day.
It might not be intentional but it's not inadvertent
There are plenty of people who are motivated by hurting/harming their "enemies". You may have heard them brag "own the libs", or similar rhetoric, while doing something objectively terrible.
Not so directly, but I do think that a lot of people don't put any effort into being a good person.
Think of the shopping cart problem. Good people return their shopping carts to the store or a cart return. Many people can't be bothered to do that.
People think "oh I'm not bad for leaving my cart in a parking spot" they think "stealing or damaging a shopping cart is what bad people do"
But they're still kinda bad people for not returning their carts. They're certainly choosing not to actively be good people.