Based on what?
Here's the ruling you can read for yourself: Murphy v. NCAA.
Read Justice Thomas’s concurring opinion. He shows why the Commerce Clause should not be interpreted to allow Congress to ban sports betting. I think he’s the smartest Justice on the Court and the one who is most faithful to the Constitution.