Bhagavad Gita Chapter 3.34
indriyasyendriyasyārthe
rāga-dveṣau vyavasthitau
tayor na vaśam āgacchet
tau hy asya paripanthinau
Translation
There are principles to regulate attachment and aversion pertaining to the senses and their objects. One should not come under the control of such attachment and aversion, because they are stumbling blocks on the path of self-realization.