I were able to stop gamble when i saw it were eating my finances, i had set a limit for my gamble purposes, but the people addicted to gamble does face uses problems trying to left those and not being able, if you do have childs, you should do those for them, for they be able to get some future and see you as an example and not a huge problem.
At least your figure it out early, unlike our fellow gambler here who has more guts to gamble without a plan to quit thought they are not doing well in gambling. I guess it depends on a person only, and good for your cause your care for your future and your finances, without discipline in gambling it will certainly destroy your future plans to be financially successful.
Just don't imitate those people who are not even thinking for the future of their family or just simply their own future. That's very reasonable and acceptable if you will gamble just for fun.
But making gambling as one part of your life that you can't be able to live and as your main source of income is very crap reason.
Unless you are an owner or shareholder of a gambling website. And for those people who want to quit for good.
Just think about your family's future and for sure you will able to realize that you need to encourage yourself to completely quit gambling.