Śrīmad-Bhāgavatam · Text 5.14.41
Who is speaking and story frame
कर्मवल्लीमवलम्ब्य तत आपद: कथञ्चिन्नरकाद्विमुक्त: पुनरप्येवं संसाराध्वनि वर्तमानो नरलोकसार्थमुपयाति एवमुपरि गतोऽपि ॥ ४१ ॥
karma-vallīm avalambya tata āpadaḥ kathañcin narakād vimuktaḥ punar apy evaṁ saṁsārādhvani vartamāno nara-loka-sārtham upayāti evam upari gato ’pi.
When the conditioned soul accepts the shelter of the creeper of fruitive activity, he may be elevated by his pious activities to higher planetary systems and thus gain liberation from hellish conditions, but unfortunately he cannot remain there. After reaping the results of his pious activities, he has to return to the lower planetary systems. In this way he perpetually goes up and comes down.
Read Śrīla Prabhupāda's purport on Vedabase.io