Yeah I have learned a lot from my gambling mistakes and now that is the reason I have quit gambling as I am now aware that there is no shortcut to earn money and the money which I am loosing in gambling will never be recovered so its better to stay away from it.
You made a very good decision to quit gambling at all, because it's really too risky and you can lose your money in few minutes. Personally, i don't consider gambling like a source for profit, I just play it for fun, In the past i made a lot of mistake and i lost a lot of money, but after that i make a decision and i consider it like an entertainment, and i usually bet with low amounts.