Even if we legalize drugs, there would be a black market anyway. Sales to children would obviously remain illegal, and regulated prices would be undercut.
Drugs are illegal because they are addictive and harmful. The public health problems impact society on many levels: individual, family and community.