As far as possible he patiently tried to remember the instructions of the śāstras not even to see a woman. With the help of this knowledge and his intellect, he tried to control his lusty desires, but because of the force of Cupid within his heart, he failed to control his mind.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
स्तम्भयन्नात्मनाऽऽत्मानं यावत्सत्त्वं यथाश्रुतम् । न शशाक समाधातुं मनो मदनवेपितम्
stambhayannātmanā''tmānaṃ yāvatsattvaṃ yathāśrutam | na śaśāka samādhātuṃ mano madanavepitam
SB 6.1.62