Now if we compare that with trading, you can find the percentage of profitable traders to be relatively higher than successful gamblers, why? The answer is simple: trading isn't completely dependent on one's luck and one can learn and do trading in a proper and effective way, whereas one can't do the same in gambling.
This comparison is incompatible because trading is a skilled based field while gambling is purely based on luck. By learning the right skills and strategies, it's possible for one to become an expert and successful trader but on the contrary, gambling as a game of chance is difficult to maintain a consistent win on a steady. Trading also allows traders to hedge and minimize risk but gambling has nothing like that. Once you click on bet, you either expect your money to return in folds or you consider it gone. Sometimes, traders take advantage of market data and analytics to make decisions while gambling in every aspect is luck reliance. Although both trading and gambling maybe somehow similar but difference is very obvious.
The similarities between gambling and trading are only between sports betting and futures trading because, in both of these, there is knowledge and experience required, you have the risk of losing your money if you look for higher rewards, but you can get profit if you settle with smaller odds in both sports betting and futures trading. So, these two have some similarities but when we talk about gambling games, that's nowhere near trading if we compare them both.
Gambling games don't allow you to read charts or analyze the available historical data to at least have a general idea of where the market might move next, but in trading, you have got this option readily available whenever you wish to take a trade and this helps you gain an advantage over the market while a gambler can never have an advantage over the gambling house.