Śrīmad-Bhāgavatam · Text 6.2.33
Who is speaking and story frame
अन्यथा म्रियमाणस्य नाशुचेर्वृषलीपते: ।
वैकुण्ठनामग्रहणं जिह्वा वक्तुमिहार्हति ॥ ३३ ॥
anyathā mriyamāṇasya
nāśucer vṛṣalī-pateḥ
vaikuṇṭha-nāma-grahaṇaṁ
jihvā vaktum ihārhati
Were it not for my past devotional service, how could I, a most unclean keeper of a prostitute, have gotten an opportunity to chant the holy name of Vaikuṇṭhapati when I was just ready to die? Certainly it could not have been possible.
Read Śrīla Prabhupāda's purport on Vedabase.io