Thus have I heard. On one occasion the Exalted One was dwelling at Anathapindika's monastery, in Jeta's Grove, near Savatthi. Now when the night was far spent, a certain deity whose surpassing splendor illuminated the entire Jeta Grove, came to the presence of the Exalted One and, drawing near, respectfully saluted him and stood at one side. Standing thus, he addressed the Exalted One in verse:
"Not to associate with the foolish, but to associate with the wise; and to honor those who are worthy of honor — this is the greatest blessing.
To support mother and father, to cherish wife and children, and to be engaged in peaceful occupation — this is the greatest blessing.
To be generous in giving, to be righteous in conduct, to help one's relatives, and to be blameless in action — this is the greatest blessing.
To loathe more evil and abstain from it, to refrain from intoxicants, and to be steadfast in virtue — this is the greatest blessing.
To be patient and obedient, to associate with monks and to have religious discussions on due occasions — this is the greatest blessing.
Self-restraint, a holy and chaste life, the perception of the Noble Truths and the realisation of Nibbana — this is the greatest blessing.
Those who thus abide, ever remain invincible, in happiness established. These are the greatest blessings."
(Derived mainly from the Commentaries.)