The Idiomatic
“He who pays the piper shouldn't cut off your nose to spite your face.”