Bhagavad Gita Chapter 7, Verse 19
बहूनां जन्मनामन्ते ज्ञानवान्मां प्रपद्यते | वासुदेवः सर्वमिति स महात्मा सुदुर्लभः ||
bahūnāṁ janmanām ante jñānavān māṁ prapadyate vāsudevaḥ sarvam iti sa mahātmā su-durlabhaḥ
After many births of spiritual practice, one who is endowed with knowledge surrenders unto Me, knowing Me to be all that is. Such a great soul is indeed very rare.
Krishna concludes the section on devotees by describing the jnani's rarity and the path to becoming one. 'Bahūnāṁ janmanām ante jñānavān māṁ prapadyate'—after many births, one who is endowed with knowledge surrenders unto Me. 'Vāsudevaḥ sarvam iti'—knowing Me to be all that is (Vasudeva is all). 'Sa mahātmā su-durlabhaḥ'—such a great soul is very rare. This verse shows that becoming a jnani takes many births of practice, and that recognizing Krishna as everything (Vasudeva sarvam) is the key realization. The jnani is rare, but possible. This connects to verse 7.3's teaching about rarity and concludes the section on delusion and devotees (7.13-7.19).