What's the noun for scapegoat? Here's the word you're looking for.
scapegoat
In the Mosaic Day of Atonement ritual, a goat symbolically imbued with the sins of the people, and sent out alive into the wilderness while another was sacrificed.
Someone punished for the error or errors of someone else.