Gambling addiction was really hard to manage. You may feel pushed to borrow, sell, or even steal things for gambling money. So I suggest that look to your future, track your thoughts, and take action for this problem.
Yeaaa that's why op asking for a way to stay away from gambling.
Too many bad things caused gambling as you stated above.
And the good suggestion to make it happen (stay away from gambling) are just go consult yourself to a professional gambling addiction therapist.