Śrīmad-Bhāgavatam · Text 9.19.20
Who is speaking and story frame
दृष्टं श्रुतमसद्बुद्ध्वा नानुध्यायेन्न सन्दिशेत् ।
संसृतिं चात्मनाशं च तत्र विद्वान् स आत्मदृक् ॥ २० ॥
dṛṣṭaṁ śrutam asad buddhvā
nānudhyāyen na sandiśet
saṁsṛtiṁ cātma-nāśaṁ ca
tatra vidvān sa ātma-dṛk
One who knows that material happiness, whether good or bad, in this life or in the next, on this planet or on the heavenly planets, is temporary and useless, and that an intelligent person should not try to enjoy or even think of such things, is the knower of the self. Such a self-realized person knows quite well that material happiness is the very cause of continued material existence and forgetfulness of one’s own constitutional position.
Read Śrīla Prabhupāda's purport on Vedabase.io