378
Šri Caitanya  caritāmrtā
[[Madhya-lilā Ch 22
puruşaḥ prakṛti-stho hi bhuṅkte prakṛti-jān guṇān kāraṇaṁ guṇa-saṅgo ‘sya ṣaḍ-aṣaḍ-voṇi-iaṇmaṣu
“The living entity in material nature thus follows the ways of life, enjoying the three modes of nature. This is due to his association with that material nature. Thus he meets with good and evil among various species.” ( Bhagavad-gītā  13.22)
According to Vedic civilization, one's association with women should be very much restricted. In spiritual life there are four  āśramas  — brahmacarya ,  gṛhastha ,  vānaprastha  and  sannyāsa . The  brahmacārī ,  vānaprastha  and  sannyāsī  are completely forbidden to associate with women. Only  gṛhasthas  are allowed to associate with women under certain very restricted conditions—that is, one associates with women to propagate nice children. Other reasons for association are condemned.
TEXT 911
বরং হুতবহজালা-পঞ্জরান্তর্ব্যবস্থিতি:। ন শৌরিচিন্তাবিমুখ-জনসংবাসবৈশমম্ ॥ ৯১ ॥
varaṁ huta-vaha-jvālā-pañjarāntar-vyavasthitiḥ na śauri-cintā-vimukha-jana-saṁvāsa-vaiśasam
SYNONYMS
varam —better;  huta-vaha —of fire;  jvālā —in the flames;  pañjara-antaḥ —inside a cage;  vyavasthitiḥ —abiding;  na —not;  śauri-cintā —of Kṛṣṇa consciousness, or thought of Kṛṣṇa;  vimukha —bereft;  jana —of persons;  saṁvāsa —of the association;  vaiśasam —the calamity.
TRANSLATION
“ ‘It is better to accept the miseries of being encaged within bars and surrounded by burning flames than to associate with those bereft of Krşna consciousness. Such association is a very great hardship.’
PURPORT
This is a quotation from the  Kātyāyana-saṁhitā .