Wiktionary
fall on one's sword
vb. 1 (&lit To commit suicide by allowing one’s body to drop onto the point of one's sword English) 2 (context idiomatic by extension English) To resign from a job or other position of responsibility, especially when pressured to do so. 3 (context idiomatic English) To voluntarily take the blame for a situation.