That is why if we decide to stop gambling, we should completely stay away from them and temptations. It is not just by words but more by actions. because I hear a lot of saying this when losing a huge amount, but guess what? They are already gambling after a few days. It makes no sense at all. lol
That's why New Year Resolutions don't work. We tend to be determined to change our way of life in the incoming year but fail to stand by it. That's because action speaks louder than voice. We can't only be mouthing what we want to do when there's no matching action to it. Like you rightly pointed out, if one wants to steer clear of gambling one shouldn't be found in environments or circles that will trigger gambling. Otherwise, that mindset of, "one more sin won't do much harm" and "being there, done that" will flood back and one will relapse to the old habit.