Bhagavad Gita · 15.19
यो मामेवमसम्मूढो जानाति पुरुषोत्तमम्।स सर्वविद्भजति मां सर्वभावेन भारत॥
yo mām evam asammūḍho jānāti puruṣhottamam sa sarva-vid bhajati māṁ sarva-bhāvena bhārata
One who, undeluded, knows me as the Supreme Person — that person, knowing everything, worships me with their whole being, O Arjuna.
— Bhagavad Gita 15.19
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)