I found that saying, "the love of money is a root of all types of evil," is a good thing to think about not in just the stress that focusing on money alone can cause, but also because the idea of easy money takes us away from the work ethic, which is a healthy thing in itself for many reasons. It gets us out in public, provides a service, keeps us physically active, and so on.
That is correct when your employer is paying you what you deserve to be paid. What about in the case when your employer pays you less than you deserve, you hate your job, you hate the people at that company around you( well the majority of them as you may also find some friends there) and feel stressful working there ? In this case gambling may look to you like a way of salvation and would me much more difficult to quit gambling.
To quit gambling a hobby to substitute it should be found and you should have a passion for it. Many people have quit gambling by going for a run everyday right in the moment when they feel they want to gamble.
So far this has been proven as one of the most effective methods to quit gambling for good. Doctors can tell you more though if you really wanna quit.