take the fall

listen to the pronunciation of take the fall
الإنجليزية - الإنجليزية
To willingly lose a match, as in a fixed fight
To bear the blame or punishment for a failure or a misdeeed

It was good of him to take the fall for you like that, I just wonder if he will come out of this one unscathed.