Leave (someone) holding the bag

To leave someone to take the blame for something.

My friend left me holding the bag when he left the accident.