Chapter 18 · Liberation through Renunciation · Krishna said
Bhagavad Gita 18.55 — Knowing God through devotion
भक्त्या मामभिजानाति यावान्यश्चास्मि तत्त्वतः। ततो मां तत्त्वतो ज्ञात्वा विशते तदनन्तरम् ॥
bhaktyā māmabhijānāti yāvānyaścāsmi tattvataḥ | tato māṃ tattvato jñātvā viśate tadanantaram ||
Meaning
Through devotion, they come to know Me as I truly am — who I am and how great. Knowing Me in truth, they then enter into Me.