Bhagavad Gita 6.42
अथवा योगिनामेव कुले भवति धीमताम् ।
एतद्धि दुर्लभतरं लोके जन्म यदीदृशम् ॥ ४२ ॥
Or he may even be born into a family of wise Yogîs; but such a birth as that is most difficult to obtain in this world.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.