Suppose our bankroll is $100 and it has already grown to $500, would you quit or continue? Conversely, if with our bankroll, we are down to $10, would you still continue or save the remaining $10? I used specific amounts to make it easier to discuss this situation. I understand that we all gamble with different amounts based on our income, but consider this as an example. You can mention any amount you want based on your personal experience; it doesn't matter.
It will be easier to stop when losing when there is no more balance left in the wallet, thus the gambler will stop betting. But, if we consider about a capital of $100 and it has increased to $500 or perhaps increased however much, I think it would also be possible to stop betting when the gambler is not greedy. But if the gambler is greedy, then even though they have earned $500 from an initial capital of $100, they will continue betting assuming that they are able to make it $1000. But in cases like that if I experience it myself, then at least I will always try to stop even though it is difficult, because with results like that at least we can make a withdrawal and save some to bet again tomorrow. But about $100 to $10, then for me it's better to go all in and start with new capital the next day.