Bhagavad Gita 14.14
यदा सत्त्वे प्रवृद्धे तु प्रलयं याति देहभृत्।तदोत्तमविदां लोकानमलान्प्रतिपद्यते॥
yadā sattve pravṛddhe tu pralayaṃ yāti dehabhṛt |tadottamavidāṃ lokānamalānpratipadyate ||
If the embodied one meets death when Sattva is predominant, then they attain the spotless worlds of the knowers of the Highest.
When purity prevails, the soul, upon leaving the body, passes on to the pure regions where those who know the Highest reside.
Our plain-language meaning of this verse is waiting for scholar review.