Bhagavad Gita · 3.6
कर्मेन्द्रियाणि संयम्य य आस्ते मनसा स्मरन्।इन्द्रियार्थान्विमूढात्मा मिथ्याचारः स उच्यते॥
karmendriyāṇi saṁyamya ya āste manasā smaran indriyārthān vimūḍhātmā mithyāchāraḥ sa uchyate
One who restrains the organs of action but continues to dwell on sense objects in the mind is deluding themselves and is called a hypocrite.
— Bhagavad Gita 3.6
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)