त्यजेदेकं कुलस्यार्थे ग्रामस्यार्थे कुलं त्यजेत् ।
ग्रामं जनपदस्यार्थे आत्मार्थे पृथिवीं त्यजेत् ॥

Meaning:
One should abandon a person who brings bad name to the family. For the sake of a village, a family which brings bad name, can be abandoned. A village, which causes disrespect to the country, can be abandoned. One should abandon the place he is living, if it brings troubles to oneself.