Śrīmad-Bhāgavatam · Text 2.1.6
Who is speaking and story frame
एतावान् सांख्ययोगाभ्यां स्वधर्मपरिनिष्ठया ।
जन्मलाभ: पर: पुंसामन्ते नारायणस्मृति: ॥ ६ ॥
etāvān sāṅkhya-yogābhyāṁ
sva-dharma-pariniṣṭhayā
janma-lābhaḥ paraḥ puṁsām
ante nārāyaṇa-smṛtiḥ
The highest perfection of human life, achieved either by complete knowledge of matter and spirit, by practice of mystic powers, or by perfect discharge of occupational duty, is to remember the Personality of Godhead at the end of life.
Read Śrīla Prabhupāda's purport on Vedabase.io