Arthashastra
व्यसन यौगपद्ये पर-वृद्धौ च मित्रम् अर्थ युक्तौ तिष्ठति ॥
When calamities happen together, or when an enemy has grown strong, a friend keeps up his friendship as long as money is forthcoming.
english translation
vyasana yaugapadye para-vRddhau ca mitram artha yuktau tiSThati ॥
hk transliteration by Sanscript