Bhagavad Gita 7.18

उदारता: सर्व एवैते ज्ञानी त्वात्मैव मे मतम् |
आस्थित: स हि युक्तात्मा मामेवानुत्तमां गतिम्

Translation

All those who are devoted to Me are indeed noble. But those in knowledge, who are of steadfast mind, whose intellect is merged in Me, and who have made Me alone as their supreme goal, I consider as My very self.