I think its much better invest than to gamble, because investing is not so risky and you can earn good profit. But they are both risky, but on investing you need to wise. I think its better to invest because its safe and surely the money will not lose and expect good profit. To gamble is a game of luck whether you lose or win. I go gamble only when i have free time and its just fun an entertainment.
Gambling required experience to win money, but the investment is one time if you spend time life long you will get profit.
Both are not correct because you need an experience or knowledge about the investments to make money and there is no guaranty that you will get profits always from your investments.
Also, there is no guaranty that your experience will give you profits from gambling because based on my knowledge only luck can bring you money in gambling, not the experiences and tricks.in my opinion experience in gambling will help you a lot to gain profit, you had learned a lot from your mistake, the experience will help you to control your emotion, knowing when to stop then cash out the profit, keeping mind calm, not affected by greed.