Bad apples

A watercolor of a bad apple

The bad apples metaphor originated as a warning of the corrupting influence of one corrupt or sinful person on a group: that "one bad apple can spoil the barrel". Over time the concept has been used to describe the opposite situation, where "a few bad apples" should not be seen as representative of the rest of their group. This latter version is often used in the context of police misconduct.