Most states had lotteries before this though. At least those brought in tax money and were designed to be relatively fair. Online gambling can shut down your account and refuse to pay if you get too big of a payout, and their money isn't going towards public schools.
It was almost certainly easier for most people to buy drugs than gamble illegally when both were illegal.