Bhagavad Gita 2.59

विषया विनिवर्तन्ते निराहारस्य देहिनः।रसवर्जं रसोऽप्यस्य परं दृष्ट्वा निवर्तते ॥२.५९॥

viṣayā vinivartante nirāhārasya dehinaḥrasavarjaṃ raso’pyasya paraṃ dṛṣṭvā nivartate

The objects of the senses turn away from the abstinent man, leaving the longing behind; but his longing also turns away upon seeing the Supreme.

गीता