SubhashitamAnushtubh
विकृतिं नैव गच्छन्ति सङ्गदोषेण साधवः । आवेष्टितं महासर्पैः चन्दनं न विषायते ॥
Good people are not corrupted by bad company — just as a sandalwood tree, though coiled about by great serpents, does not become poisonous.
abyasam.com/en/subhashitam/sub-vikritim-naiva-gachchanti-076
virtuousbad companysteadfastnesssandalwood