that happen to me a lot when i lose in gambling but a could never leave gambling.
This is actually normal if you are addicted to gambling, you would still do it even though you know that you have lost so much money but you still play over and over again thinking that you will still win a jackpot. Event if you still win you will still come back and play more because you're too greedy and want more money and you go back to gambling and will lose everything instead. This is commonly how people will be doing if they are addicted to gambling. If you really want to quit gambling you need to control yourself or go ask for someone's help.
The whole thing with addiction comes with the problem of not agreeing with losses and starts with the idea of trying to recover them or finding if there is a possibility of doing so until they keep losing more and the cycle keeps revolving like that. When we are not losing hope with gambling, quitting it seems highly impossible. Taking time and recalling how dangerous that gambling is, definite will bring the options to quit forever.