To take the blame / To be the fall guy
Literally 'to pay the duck'. Describes someone who suffers the consequences of something that wasn't entirely their fault.
The boss made the mistake but I took the blame.
As always, the newest person was the fall guy.
—Why did they fire him? —He was the fall guy for the others.