Śrīmad-Bhāgavatam · Text 8.19.37
Who is speaking and story frame
धर्माय यशसेऽर्थाय कामाय स्वजनाय च ।
पञ्चधा विभजन्वित्तमिहामुत्र च मोदते ॥ ३७ ॥
dharmāya yaśase ’rthāya
kāmāya sva-janāya ca
pañcadhā vibhajan vittam
ihāmutra ca modate
Therefore one who is in full knowledge should divide his accumulated wealth in five parts — for religion, for reputation, for opulence, for sense gratification and for the maintenance of his family members. Such a person is happy in this world and in the next.
Read Śrīla Prabhupāda's purport on Vedabase.io