Bhagavad Gita · 15.15
सर्वस्य चाहं हृदि सन्निविष्टोमत्तः स्मृतिर्ज्ञानमपोहनं च।वेदैश्च सर्वैरहमेव वेद्योवेदान्तकृद्वेदविदेव चाहम्॥
sarvasya chāhaṁ hṛdi sanniviṣhṭo mattaḥ smṛtir jñānam apohanaṁ cha vedaiśh cha sarvair aham eva vedyo vedānta-kṛd veda-vid eva chāham
I am seated in the hearts of all beings. From me come memory, knowledge, and their removal. I alone am to be known through all the Vedas. Indeed, I am the author of the Vedanta and the knower of the Vedas.
— Bhagavad Gita 15.15
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)