Legalization would eliminate the harms caused by prohibition, but it would not eliminate the harms caused by drug use.
Legalization reduces harms from using drugs 
Sometimes it does, sometimes it doesn’t 
( z1 reduce :ARG0 ( z2 legalize ) :ARG1 ( z3 harm :ARG0 ( z4 use :ARG1 ( z5 drug ) ) ) )