Śrīmad-Bhāgavatam · Text 3.31.34
Who is speaking and story frame
तेष्वशान्तेषु मूढेषु खण्डितात्मस्वसाधुषु ।
सङ्गं न कुर्याच्छोच्येषु योषित्क्रीडामृगेषु च ॥ ३४ ॥
teṣv aśānteṣu mūḍheṣu
khaṇḍitātmasv asādhuṣu
saṅgaṁ na kuryāc chocyeṣu
yoṣit-krīḍā-mṛgeṣu ca
One should not associate with a coarse fool who is bereft of the knowledge of self-realization and who is no more than a dancing dog in the hands of a woman.
Read Śrīla Prabhupāda's purport on Vedabase.io