yes it all will not help you to stay away from gambling. but one that could help, maybe if you get a job with a high salary. because the purpose of playing gambling one of which is to earn money.
It really depends why the person is gambling. Some people gamble to earn money while others do it for the thrill or even the social aspect of it.