A bad apple

ImageMeaning:

A (morally) bad person who makes a whole group bad.

A bad apple is someone who has a bad effect on a whole group or system.

People also say, "One bad/rotten apple spoils the (whole) bushel/barrel."

Example:

The corruption in the government started with a bad apple, a high official two years ago. Now the whole system is corrupt.