Srimad Bhagavatam Canto 11, Chapter 26, Text 22

SB 11.26.22

athapi nopasajjeta
 strisu strainesu cartha-vit
visayendriya-samyogan
 manah ksubhyati nanyatha
 
Translation: 
 
Yet even one who theoretically understands the actual nature of the body should never associate with women or with men attached to women. After all, the contact of the senses with their objects inevitably agitates the mind.
Srimad Bhagavatam Canto 11, Chapter 26, Text 21
Srimad Bhagavatam Canto 11, Chapter 26, Text 23