One bad apple spoils the (whole) barrel / bushel / lot / bunch1. A single person can be a bad influence on other people.