Those people will still gamble if gambling is illegal. Gambling did not start in the 1970s and the primary motivation for making it legal wasn’t revenue it was shutting down revenue streams for organized crime.