In gambling we don't just win without spending and the spending is what gives us to that ability to carefully follow up how much we spend gambling, this also helps us to regulate how we gambles or how reduce the attention focused on gambling. Gambling is pretty much better when you used a particular amount to gamble and that amount isn't something you projected for some other things but solely for gambling so that when you lose it you wouldn't attach too much value to it or even regret why using such amount to gamble.
Discipline is what drives us forward: especially in gambling, it keeps emotions at bay, and fun - it keeps coming because you don't dive too deep into the thrill, only by the extent
YOU command.