This is the only thing that would make any of us stop from gambling,
Of course there are some who would turn back from their priorities just to have fun and continue their vices.
When we have our priorities we would focus on it and we would avoid any other things specially if we don't have extra funds.
This is the same thing that could stop me from gambling. I might also stop gambling if I already have a priority and if I wouldn't have enough funds to gamble. I have set goals in gambling but having priorities and responsibilities might push me away from playing especially when gambling is already affecting my life negatively. However, if we'll know how to handle things well, we don't have to quit gambling right away.