Dhammapada · 5.2
Carañce nādhigaccheyya, seyyaṃ sadisamattano;Ekacariyaṃ daḷhaṃ kayirā, natthi bāle sahāyatā.
Carance nadhigaccheyya, seyyam sadisamattano; Ekacariyam dalham kayira, natthi bale sahayata.
If on your wandering you do not find an equal or a superior companion, walk alone resolutely — there is no companionship with a fool.
— Dhammapada 5.2
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.