https://en.wikipedia.org/wiki/Murphy_v._National_Collegiate_...
Note that it was not a close decision:
> Opinion of the Court
>The Court announced a 7–2 judgment in favor of Murphy on May 14, 2018, reversing the Third Circuit.[25] Justice Samuel Alito wrote the majority opinion, joined by Justices John Roberts, Anthony Kennedy, Clarence Thomas, Elena Kagan, and Neil Gorsuch and in part by Justice Stephen Breyer.[26][27][28] The majority opinion agreed that §§ 3701(1) of PASPA commandeered power from the states to regulate their own gambling industries and thus was unconstitutional. It followed New York v. United States and reversed the Third Circuit decision.
Prohibition had some unintended consequences.
Frankly, being able to buy drugs and alcohol online is probably a mistake, too.
It was almost certainly easier for most people to buy drugs than gamble illegally when both were illegal.