You need to specify which type of gambling you are involved in because there are different types of gambling, in some of them, it's almost impossible for one to earn money or profit in the long run unless they manage to win something big initially and then stop gambling after that.
If you are playing gambling games, you will most likely be at a loss if you check the overall wins and losses of all your gambling sessions because the results are completely luck-based and one can't win if they aren't lucky.
However, in sports betting, one might be able to earn some money if they know what they are doing and have enough knowledge and experience about the sports they are going to bet in.
Making money from gambling is a complex activity, but unlike roulette, where almost everything is decided by luck, in sports betting you can independently decide on which outcome you want to bet on and the probability of winning is higher (especially if you bet on an event no more than with two outcomes). But to make money in gambling you need to have discipline, nerves of steel, the ability to manage finances and analyze events. For the vast majority of players, this is too difficult a task.
It's hard for an online casino to become a money-making machine unless you command luck to be with you every time you gamble so that you always win, but there is nothing like this in gambling.
Then there's one more thing I can't say yet: I've been addicted to gambling. Let's say it's the investment I want to make because of my gambling. In reality, it is still very difficult to get lucky in gambling, and most of the time we always lose in gambling.