The Dhammapada
Chapter XXIII
The Elephant
Verse CCCXXXI
If the occasion arises, friends are pleasant;
enjoyment is pleasant, whatever be the cause; a
good work is pleasant in the hour of death; the
giving up of all grief is pleasant.