Forex requires lots of work, knowledge, and patience if you want to succeed. You can't make money and become rich overnight because of it. It's a matter of time and patience here. Gambling on the other side, it's about how lucky you can get and some strategies up your sleeve. I made money from gambling but most of the time just because I was lucky enough. but in the end, strategy is on the second scale (not saying that it's not extremely necessary in gambling lol).
Gambling should not be confused with forex trading. Gambling is just for fun and entertainment but forex trading is a type of business. It requires knowledge about the forex market, its working, lots of planning, patience, and discipline to succeed.
Forex is about risks and taking the right ones in order to make profit. It is closer to gambling on sports where you can get an edge with extra knowledge but it is not like casino gambling which is just stupid