Śrīmad-Bhāgavatam · Text 4.21.25
Who is speaking and story frame
तत् प्रजा भर्तृपिण्डार्थं स्वार्थमेवानसूयव: ।
कुरुताधोक्षजधियस्तर्हि मेऽनुग्रह: कृत: ॥ २५ ॥
tat prajā bhartṛ-piṇḍārthaṁ
svārtham evānasūyavaḥ
kurutādhokṣaja-dhiyas
tarhi me ’nugrahaḥ kṛtaḥ
Pṛthu Mahārāja continued: Therefore, my dear citizens, for the welfare of your king after his death, you should execute your duties properly in terms of your positions of varṇa and āśrama and should always think of the Supreme Personality of Godhead within your hearts. By doing so, you will protect your own interests, and you will bestow mercy upon your king for his welfare after death.
Read Śrīla Prabhupāda's purport on Vedabase.io