Investing can take many forms!!
Investing can. But investing is different from gambling.
Investing creates wealth over time for the investors. Gambling creates wealth for the bookies.
If you buy shares or invest in property, there will be a source of income which should, on average, over the longer term give a return on your money, although, on occasions, you will lose.
If you back a horse, play roulette, or buy bitcoin, you will lose over the longer term, although, on occasions, you will win.