Thus have I heard. On one occasion the Blessed One was dwelling at Savatthi in Jeta’s Grove, Anathapiṇḍika’s Park. Then, when the night had advanced, a number of devatās belonging to the Satullapa host, of stunning beauty, illuminating the entire Jeta’s Grove, approached the Blessed One. Having approached, they paid homage to the Blessed One and stood to one side.
Then one devatā, standing to one side, recited this verse in the presence of the Blessed One:
“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
One becomes better, never worse.”
Then five other devatās in turn recited their verses in the presence of the Blessed One:
“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
Wisdom is gained, but not from another.”“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
One does not sorrow in the midst of sorrow.”“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
One shines amidst one’s relations.”“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
Beings fare on to a good destination.”“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
Beings abide comfortably.”
Then another devatā said to the Blessed One: “Which one, Blessed One, has spoken well?”
“You have all spoken well in a way. But listen to me too:
“One should associate only with the good;
With the good one should foster intimacy.
Having learnt the true Dhamma of the good,
One is released from all suffering.”
This is what the Blessed One said. Elated, those devatās paid homage to the Blessed One and, keeping him on the right, they disappeared right there.