to hurt yourself in an effort to punish someone else If you stay home because your ex-husband will be at the party, aren't you just cutting off your nose to spite your face?
to do something because you are angry, even if it will cause trouble for you 'The next time he treats me like that, I'm just going to quit my job.' 'Isn't that a bit like cutting off your nose to spite your face?'