Bhagavad Gita 6.41
Having reached the worlds where the righteous dwell, and having remained there for many years, he who has strayed from the path of spirituality will be born again into the family of the pure, benevolent, and prosperous.
प्राप्य पुण्यकृतां लोकानुषित्वा शाश्वतीः समाः।
शुचीनां श्रीमतां गेहे योगभ्रष्टोऽभिजायते॥prāpya puṇyakṛtāṃ lokānuṣitvā śāśvatīḥ samāḥ|
śucīnāṃ śrīmatāṃ gehe yogabhraṣṭo'bhijāyate||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).