Bhagavad Gita · 6.43
तत्र तं बुद्धिसंयोगं लभते पौर्वदेहिकम्।यतते च ततो भूयः संसिद्धौ कुरुनन्दन॥
tatra taṁ buddhi-saṁyogaṁ labhate paurva-dehikam yatate cha tato bhūyaḥ saṁsiddhau kuru-nandana
There, that person regains the spiritual wisdom from the previous body and strives again from that point toward complete perfection, O descendant of Kuru.
— Bhagavad Gita 6.43
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)