Ban sports betting and online poker, people will still do it. Just more dangerously, on websites that are sketchy and could steal your money at any time.
Ban drugs, people will still use drugs. Just more dangerously.
Ban abortion, and women will still get it. Just more dangerously.