The Idiomatic
“A friend to everybody shouldn't cut off your nose to spite your face.”