Bhagavad Gita 8.15

मामुपेत्य पुनर्जन्म दु:ख्यालमशाश्वतम् |
नाप्नुवन्ति महात्मन: संसिद्धिं परमं गता:

Translation

Having attained Me, the great souls are no more subject to rebirth in this world, which is transient and full of misery, because they have attained the highest perfection.