When it comes to gambling I have not said this to myself. The only time I said something similar to myself was when I chased a loss and I lost. I just said to myself that I won't do this again. That is I won't chase after another loss again and since then I have kept to it. In gambling promise to quit immediately after experiencing a loss, would not show any true change. Those ones are just emotional outbursts. They are temporary.
Decisions made out of emotions are made based on just how you feel and a lot of times after a while you might go back to the things you said that you wouldn't do. it's more feasible to stop chasing losses than saying you want to stop entirely due to bad days you've had. After experiencing losses it's normal to decide to stop gambling but it's hard to maintain such decisions, gambling is something that can't be stopped easily