If you define “gambling” as taking a risk and your investment of time and money may not turn into a profit, then everything in life is gambling.
But gambling is a vice and it is rigged against you. The casinos are set up to make money. Sure! They let a few people win. Because they have to keep their customers. When you see people win, do not be deceived. Its just a “hook”. The owners of the gambling joints hope that they can hook you!
You don't really have to educate yourself to gamble your money away. Just go in the casino with money and go to the tables. Nine times out of ten, you will walk out empty-handed.
Whereas, if you consider FOREX trading, you could be foolish and act like a gambler and throw your money at it and hope it increases. But a wise trader will educate themselves on the entire process from A to Z.
Currency trading has been around for centuries. But it wasn't until 1990 when the technology of FOREX trading platforms was developed. Before that time only major financial institutions could trade. But now an average ordinary person can be active in the FOREX market. Like any sound financial investing decision, you take a risk. You could lose or earn a profit. However, these days individual traders and investors can speculate on currencies and earn a profit.
In my humble opinion, FOREX trading is not gambling. It is not rigged so that you lose your money. But you do have to educate yourself and pay attention to the financial market so that you don't waste your money. If you don't, then you are gambling.