Trading and gambling are two different entities.
Trading is investing in a business or stock in hope of it rising so you can make some profit.
Gambling is investing or spending on a game and hoping for it to fall out right.
In trading, there are fundamental analysis and critical analysis you have to do before putting your money into it.
But in gambling, you've got zero power or control over it.