The Bhagavad Gita chapter 6 verse 24
“samkalpaprabhavan kamams tyaktva sarvan asesatah manasaivendriyagramam viniyamya samantatah” “Relinquish without exception all longings born of sankalpas (plannings), and completely control, sheerly with the mind, the sensory organs, the sensory powers, and their contact with the ubiquitous sense objects.” This verse, essentially a meditation technique comes from chapter six