If you can stop gambling then that is a good thing to do but also remember that all shortcuts to make money come with high-risk of losing your investments. So think many times before choosing any short-cuts. All good investments need time to do a business and to give you profits so don't put all your hard earned money into short-cut methods.
"Shortcut" is the right word that really describes gambling mistakes. People that are poor or unfortunate believes that gambling is the key to get rich but they are always wrong.
Doing a gambling have a probability which is 50:50 either you will win or lose. Some people make as part of there life, they can't live without gambling.
On my experienced, yes I learned a lot the every mistakes that I did before. Gambling has a lot of time was wasted and money as well. You need to sacrifice some of your priorities because you need some enough capital for your gambling. What I did before was so big mistake, maybe I'm not so lucky as what some gambler so lucky. Lesson learned on what I did, today I plan to invest some good businesses which is demand in the society compare to do gambling will sacrifice some of your money and your time for your family.
Well the important part there is always to learn and not to commit the same mistakes again or at least avoid committing the same ones. Most of the time people are like this anyways. Its not that often than someone keeps making the same mistakes over and over again