Śrīmad-Bhāgavatam · Text 4.12.13
Who is speaking and story frame
षट्त्रिंशद्वर्षसाहस्रं शशास क्षितिमण्डलम् ।
भोगै: पुण्यक्षयं कुर्वन्नभोगैरशुभक्षयम् ॥ १३ ॥
ṣaṭ-triṁśad-varṣa-sāhasraṁ
śaśāsa kṣiti-maṇḍalam
bhogaiḥ puṇya-kṣayaṁ kurvann
abhogair aśubha-kṣayam
Dhruva Mahārāja ruled over this planet for thirty-six thousand years; he diminished the reactions of pious activities by enjoyment, and by practicing austerities he diminished inauspicious reactions.
Read Śrīla Prabhupāda's purport on Vedabase.io