Bhagavad Gita 6.42
Or, he may be born in the family of wise sages, though such a birth is indeed very difficult to obtain.
अथवा योगिनामेव कुले भवति धीमताम्।
एतद्धि दुर्लभतरं लोके जन्म यदीदृशम्॥athavā yogināmeva kule bhavati dhīmatām|
etaddhi durlabhataraṃ loke janma yadīdṛśam||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).