Bhagavad Gita · 4.9
जन्म कर्म च मे दिव्यमेवं यो वेत्ति तत्त्वतः।त्यक्त्वा देहं पुनर्जन्म नैति मामेति सोऽर्जुन॥
janma karma cha me divyam evaṁ yo vetti tattvataḥ tyaktvā dehaṁ punar janma naiti mām eti so 'rjuna
One who truly understands the divine nature of My birth and activities does not take birth again upon leaving the body, but attains Me, O Arjuna.
— Bhagavad Gita 4.9
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)