Dhammapada · 23.9
Sace labhetha nipakaṃ sahāyaṃ, saddhiṃcaraṃ sādhuvihāridhīraṃ;Abhibhuyya sabbāni parissayāni, careyya tenattamano satīmā.
Sace labhetha nipakam sahayam, saddhincaram sadhuviharidhiram; Abhibhuyya sabbani parissayani, careyya tenattamano satima.
If you find a prudent companion to walk with — wise, of good conduct — overcoming all dangers, walk with him, content and mindful.
— Dhammapada 23.9
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.