Arthashastra
अनर्थ्य सम्योगो मुहूर्त प्रतीकारो, दीर्घ क्लेश करो दुःखानाम् आसङ्ग इति ॥
for the company of undesirable persons can be got rid of in a moment, whereas suffering from vices causes injury for a long time.
english translation
anarthya samyogo muhUrta pratIkAro, dIrgha kleza karo duHkhAnAm AsaGga iti ॥
hk transliteration by Sanscript