There is a risk premium but this premium can be positive or negative. It has been negative in many countries, do you suggest they ban stocks?
I don't think stocks are the same thing as gambling btw. But it is significantly more complex in that they overlap, some financial products clearly exist in the US because gambling was illegal. A sports bet is clearly not an investment, but neither is a ODTE option. Both are entertainment, the former probably more logically so than the latter, I am not sure what appeal that latter can have other than to gambling addicts.