Sirach 12:14

So no one pities a person who associates with a sinner and becomes involved in the other’s sins.