Bhagavad Gita 7.19
Chapter 7: Knowledge and realisation
बहूनां जन्मनामन्ते ज्ञानवान्मां प्रपद्यते ।
वासुदेवः सर्वमिति स महात्मा सुदुर्लभः ॥ १९ ॥
At the close of many births the man full of wisdom cometh unto Me; "Vâsudeva is all." saith he, the Mahâtmâ, very difficult to find.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.