it depends on religions, areas, time... some big religions consider it a sin, some countries ban it,... with deep and wise reasons.
it also depends on each person. like Buddhist consider drink alcohol is a sin, but there is a famous Chinese legendary Buddha named Te Cong still drinking day by day, but he still keep his soul clear.