I can assure you that good traders know what they are doing and manage their way to success, unlike gambling, which is highly luck-based. It's basically betting.
How you can be sure that trading is different than gambling

, trading itself is highly luck based, you can't predict current war that caused market to dump so hard, if you do you would've shorted it.
You can try technical analysis but most of them are self fulfilling prophecy, at most they increase odd from 0.50 to 0.51. In literal sense both are the same speculation on probability.
The problem with many of you is that you don't know how to trade, so what do you expect? And this mindset of trading as gambling is what fails you, so I am not surprised. The narrative will never change if you don't change and take trading for what it is.
Trading is speculative to the point that some traders have over 85% winning accuracy, and it is managerial and plannable. Can you say the same of gambling? Gambling increases your uncertainty the more you try to learn it, but trading increases your certainty the more you learn it. The only similarity is the risk and the uncertain outcome. Notwithstanding, trading still makes it more certain with more expertise, unlike gambling. So, the choice is yours.
Even AI will tell you they are not the same.