Bhagavad Gita Shloka 14.14 — Gunatraya Vibhaga Yoga
यदा सत्त्वे प्रवृद्धे तु प्रलयं याति देहभृत्।
तदोत्तमविदां लोकानमलान्प्रतिपद्यते।।14.14।।
Meaning
If one dies when Sattva is predominant, one attains the pure higher worlds of those who know the highest. The mode at death influences the next birth.