Taking the fall.

This idiom or expression has to do with:

Accepting the responsibility (when something goes wrong) for someone else’s action.

Q. Why are you taking the fall?
A. It’s for the good of the company. I can always do something else.

Compare to:
Sacrificial lamb.
Throwing under the bus.