Bhagavad Gita Chapter 7.19
bahūnāḿ janmanām ante
jñānavān māḿ prapadyate
vāsudevaḥ sarvam iti
sa mahātmā su-durlabhaḥ
Translation
After many births and deaths, he who is actually in knowledge surrenders unto Me, knowing Me to be the cause of all causes and all that is. Such a great soul is very rare.