Drinking liquor is condemned in the śāstras as a mahāpātaka . One who associates with such people is also decried as one who has committed the mahāpātaka. A brāhmaṇa who drinks so shall be born as insects, moths, birds and beasts.
brahmahāca surāpaśca steyī ca gurutalpagaḥ !
ete sarva pṛthagjñeyā mahā pātakino narāḥ !!
---- Manu Smṛti ix -235
brahmahatyāsurāpānam steyam gurvañganāgamaḥ !
mahānti pātakānyāhuḥ samsargaścāpi taiḥ saha !!
----Manu Smṛti xi-54
krmi kīta patangānām viṣbhujām caiva pakṣiṇām !
himsrāṇām caiva satvānām surāpo brāmaṇo vrajet !!
----Manu Smṛti xii-56