Moses Maimonides, recognizing the effect of bad company, made the drastic proposal: “If you live in a country whose inhabitants are evil, avoid their company. If they try to force you to associate with them, leave the country, even if it means going to the desert.”