Trading is majorly based on luck and we should not forget about luck have been helping making gamblers to hit jackpot without full awareness they could gamble and make huge winnings. There are some bets that requires a lot to skills like poker and other related ones. Games like slots majorly relies on luck for you to keep making profits and when you don't have adequate luck to bring winnings for yourselves, then you might end up struggling to make profits trying to bet frequently which can lead to severe addiction that might be hard to reliquinsh.
Trading is not majorly based on luck, but gambling is. Trading mostly about knowledge and experience, because even if the market is not totally predictable, you can still know or at least have an idea about how it is going to react at a certain point, and you can utilize that info to make successful trades. Besides, trading is not like gambling where you decide the betting amount, press a button, and boom, you have either lost the money or won double or more the amount you had risked. In trading, you have tools such as stop-loss, that can mitigate the risks involved.
This is why I don't agree that trading is majorly based on luck. Yes, there are some types of trading that can be compared to gambling, such as binary trading, but that is actually gambling in another sense, because you are basically betting on the outcome of the market, and not actually buying or storing assets, which isn't trading in technical senses. Trading is when you buy and sell real assets, from the market, that are up for sale or are being bought by real people on the other end.