throw sb under the bus
informal to do something harmful to someone else in order to gain an advantage for yourself:
He has been accused of throwing fellow Republicans under the bus for his personal agenda.
I'm not going to throw my friend under the bus for something he did 25 years ago.