Bhagavad Gita 2.62
When a person dwells on the objects of sense, they create an attraction for them; this attraction develops into desire, and desire breeds anger.
ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते।
सङ्गात् संजायते कामः कामात्क्रोधोऽभिजायते॥dhyāyato viṣayānpuṃsaḥ saṅgasteṣūpajāyate|
saṅgāt saṃjāyate kāmaḥ kāmātkrodho'bhijāyate||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).