One verse

Srimad Bhagavatam 7.12.9

7.12.9

नन्वग्नि: प्रमदा नाम घृतकुम्भसम: पुमान् । सुतामपि रहो जह्यादन्यदा यावदर्थकृत् ॥ ९ ॥

nanv agnih pramada nama ghrta-kumbha-samah puman sutam api raho jahyad anyada yavad-artha-krt

nanu
certainly
agnih
the fire
pramada
the woman (one who bewilders the mind of man)
nama
the very name
ghrta-kumbha
a pot of butter
samah
like
puman
a man
sutam api
even one’s daughter
rahah
in a secluded place
jahyat
one must not associate with
anyada
with other women also
yavat
as much as
artha-krt
required.

Woman is compared to fire, and man is compared to a butter pot. Therefore a man should avoid associating even with his own daughter in a secluded place. Similarly, he should also avoid association with other women. One should associate with women only for important business and not otherwise.