But that's the thing, if I take my entire salary and lose it gambling I still owe the government taxes.
I the person am taxed on revenue.
If instead I have a corporation handle everything then I can come up with (relatively simple) systems so that I don't pay taxes and the corporation doesn't pay taxes either.