Srimad-Bhagavatam: Canto 10 - Chapter 1 - Verse 34
Sanskrit:
यजन्तं सकलान् देवान् क्वापि क्रतुभिरूर्जितै: ।पूर्तयन्तं क्वचिद् धर्मं कूर्पाराममठादिभि: ॥ ३४ ॥
ITRANS:
yajantaṁ sakalān devānkvāpi kratubhir ūrjitaiḥpūrtayantaṁ kvacid dharmaṁkūrpārāma-maṭhādibhiḥ
Translation:
Somewhere He was worshiping all the demigods with elaborate sacrifices, and elsewhere He was fulfilling His religious obligations by doing public welfare work, such as the construction of wells, public parks and monasteries.