Muslims have been very successfull in prohibiton of all kinds of drugs and alcohol since 15 centuries. Compare this with the failed American Prohibition. There are more factors at play than what the law says. What do you believe will happen if you drink alcohol in secret, away from the eyes of the State? Muslims believe this will have consequences in afterlife. Atheists don't. Many Christians believe they'll be saved and forgiven by God as long as they are Christian.
> A 2012 study suggested that belief in hell decreases crime rates, while belief in heaven increases them, and indicated that these correlations were stronger than other correlates like national wealth or income inequality.
https://en.wikipedia.org/wiki/Correlates_of_crime
I live in Turkey, probably the most heavily and forcefully secularized muslim country in the world. (Ataturk killed half a million people for his secular reforms, Islamic alphabet got abolished, European dress code literally became law, religious clothing got prohibited, religion schools closed, scholars executed & prosecuted and Islamic prayer call was banned for 18 years).
It's free to drink here, but drugs are banned. Only a very small minority drinks alcohol in my region, I have no relatives I know of that ever drank. Drugs/weed/marijuana are horrible things no one ever wants in my entire social circle, I don't think I have ever seen a user of such substances in my entire life IRL. Western and some coastal cities drink more and there's more drug activity too (they're less religious too).
From here, it’s hilarious to see Westerners thinking prohibition is impossible and preaching against it.