whipping boy

A scapegoat, as in This department's always been the whipping boy when things don't go well. This expression alludes to the former practice of keeping a boy to be whipped in place of a prince who was to be punished.
[ Early 1900s
]