So do you think that gambler are jobless? If they are jobless so how they have some money to gamble? You are completely wrong if you think like that..
Most gamblers has their own job in real world already except those who are rely only on gambling for their main income.
I think a regular working job that you got can make a good exemption in turning away from gambling, but if your regular work is not healthy for you and the environment is not pleasing for you, you will try to find something to do to escape your unhealthy work some find gambling so amusing instead of their work.