Krishna,Geeta,Chapter 2, Verse 67/68.
As a boat on the water is swept away by a strong wind, even one of the roaming senses on which the mind focuses can carry away a man's intelligence.
Therefore, O mighty-armed, one whose senses are restrained from their objects is certainly of steady intelligence.