Śrīmad-Bhāgavatam · Text 4.29.55
Who is speaking and story frame
स त्वं विचक्ष्य मृगचेष्टितमात्मनोऽन्त-
श्चित्तं नियच्छ हृदि कर्णधुनीं च चित्ते ।
जह्यङ्गनाश्रममसत्तमयूथगाथं
प्रीणीहि हंसशरणं विरम क्रमेण ॥ ५५ ॥
sa tvaṁ vicakṣya mṛga-ceṣṭitam ātmano ’ntaś
cittaṁ niyaccha hṛdi karṇa-dhunīṁ ca citte
jahy aṅganāśramam asattama-yūtha-gāthaṁ
prīṇīhi haṁsa-śaraṇaṁ virama krameṇa
My dear King, just try to understand the allegorical position of the deer. Be fully conscious of yourself, and give up the pleasure of hearing about promotion to heavenly planets by fruitive activity. Give up household life, which is full of sex, as well as stories about such things, and take shelter of the Supreme Personality of Godhead through the mercy of the liberated souls. In this way, please give up your attraction for material existence.
Read Śrīla Prabhupāda's purport on Vedabase.io