The rotten apple injures its neighbours. meaning

HOME PROVERBS

injure

The rotten apple injures its neighbours.

said to mean that:
Bad people can have bad influence on the people they associate with.
also
The rotten apple spoils the barre