Bhagavad Gita 18.16
Chapter 18: Freedom through renunciation
तत्रैवं सति कर्तारमात्मानं केवलं तु यः ।
पश्यत्यकृतबुद्धित्वान्न स पश्यति दुर्मतिः ॥ १६ ॥
That being so, he verily who—owing to untrained Reason—looketh on his Self, which is isolated, as the actor, he of perverted intelligence, seeth not.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.