this is cutting off your head to spite your face
As Harry Truman once said to one of his generals complaining of how he was unappreciated: “Climb down off that cross, Mittens”.