Bhagavad Gita 14.2

इदं ज्ञानमुपाश्रित्य मम साधर्म्यमगता: |
सर्गेऽपि नोपजायन्ते प्रलये न व्यथन्ति च

Translation

Those who take refuge in this wisdom will be united with Me. They will not be reborn at the time of creation nor destroyed at the time of dissolution.