proverb
describes
A situation when all of a group are considered bad just because some of them are bad.