The Idiomatic

“This, too, shouldn't cut off your nose to spite your face.”