Dhammapada · 23.10
No ce labhetha nipakaṃ sahāyaṃ, saddhiṃcaraṃ sādhuvihāridhīraṃ;Rājāva raṭṭhaṃ vijitaṃ pahāya, eko care mātaṅgaraññeva nāgo.
No ce labhetha nipakam sahayam, saddhincaram sadhuviharidhiram; Rajava rattham vijitam pahaya, eko care matangarannev nago.
If you do not find a prudent companion to walk with — wise, of good conduct — then like a king abandoning a conquered realm, walk alone like an elephant in the Mātaṅga forest.
— Dhammapada 23.10
Source: Pali text from the Khuddaka Nikāya of the Pali Canon (oldest extant Buddhist scripture, compiled c. 3rd century BCE). Public-domain English readings drawn from F. Max Müller's translation in Sacred Books of the East, Vol X (1881) and the Buddhist Publication Society's freely-licensed Acharya Buddharakkhita rendering.