Bhagavad Gita 7.18
उदाराः सर्व एवैते ज्ञानी त्वात्मैव मे मतम्। आस्थितः स हि युक्तात्मा मामेवानुत्तमां गतिम्।।7.18।।
udārāḥ sarva evaite jñānī tvātmaiva me matam| āsthitaḥ sa hi yuktātmā māmevānuttamāṃ gatim||7.18||
udarah sarva evaite jnani tvatmaiva me matam asthitah sa hi yuktatma mamevanuttamam gatim7.18
Meaning
All devotees are indeed noble, but the wise person is considered to be Krishna's very Self. Being established in the Supreme, such a person is firmly situated in the highest goal.
ये सब उत्कृष्ट हैं, परन्तु ज्ञानी तो मेरा स्वरूप ही है ऐसा मेरा मत है, क्योंकि वह स्थिर बुद्धि ज्ञानी अति उत्तम गतिस्वरूप मुझमें अच्छी प्रकार स्थित है।
This is verse 18 of 30 in Chapter 7 (Jnana Vijnana Yoga) of the Bhagavad Gita.