From the Dhammapada (Chapter 15)
Happy indeed we live, friendly amidst the hostile.
Amidst the hostile we dwell free from hatred.
Happy indeed we live, friendly amidst the afflicted (by craving).
Amidst the afflicted we dwell free from affliction.
Happy indeed we live, free from avarice amidst the avaricious.
Amidst the avaricious we dwell free from avarice.
Happy indeed we live, we who possess nothing.
Feeders on joy we shall be, like the Radiant Gods.
Victory begets enmity; the defeated dwell in pain.
Happily the peaceful live, discarding both victory and defeat.
There is no fire like lust and no crime like hatred.
There is no ill like the aggregates (of existence)
And no bliss higher than the peace (of Nibbana).
Hunger is the worst disease, conditioned things the worst suffering.
Knowing this as it really is, the wise realize Nibbana, the highest bliss.
Health is the most precious gain and contentment the greatest wealth.
A trustworthy person is the best kinsman, Nibbana the highest bliss.
Having savored the taste of solitude and peace (of Nibbana),
pain-free and stainless he becomes, drinking deep the taste of the bliss of the Truth.
Good is it to see the Noble Ones; to live with them is ever blissful.
One will always be happy by not encountering fools.
Indeed, he who moves in the company of fools grieves for longing.
Association with fools is ever painful, like partnership with an enemy.
But association with the wise is happy, like meeting one’s own kinsmen.
Therefore, follow the Noble One,
Who is steadfast, wise, learned, dutiful and devout.
One should follow only such a man, who is truly good and discerning,
Even as the moon follows the path of the stars.