It depends on what you mean by gambling.
There are some games like poker and blackjack that you can apply skill and strategy and lower your risk of losing.
Vice versa trading can be like gambling if you don't use skill and strategy to lower your risk.