we must control our greed and learn self-control. If we do not have control over ourselves, we will easily become addicted to gambling.
There is always something that stops us from falling and I think that most of us agree that when greed comes in everything starts to fall, that is where our discipline has to be the strongest, because with good discipline there is no way that any kind of greed or any kind of temptation that is always present can come in.
One way that I do when I see that my discipline is weakening is to think about food, for example saying that I want to buy a pizza, if I lose it I won't buy it , or that if I leave everything so I have the money because I like to make my own hamburgers at home, because that way I prepare them to my liking, I eat about 2 hamburgers at night and leave them for Breakfast, but that is just a small motivation, which at least works for me.