This has always been what use to deceive gamblers that gambling is about luck and they risk their game by continuing playing. Instead of some people to stop playing when they have gotten to a level whereby they can go with the money they have won so far they prefer to continue playing having the mindset that they still have the luck to win the remaining game. Luck in gambling can't be predicted but always come as a surprise.
It is important to know when is the right time to stop in gambling, and never to allow greed to make you feel their is much guarantee of winning the game to the end, continuing playing till the end can end up losing everything.
I agree that not knowing the right time to gamble puts you at greater risk. Therefore besides knowing the right time you have to think about the loss. Avoid greed and never expect big wins go through little and be consistent. Gamblers who become greedy never win so much is lost that they can never be recovered greedy gamblers do not consider the right time. If you think that you will win even if you bet you will be full of disappointment towards the end. If you understand the risk of gambling the damage will be reduced.
Greed does put a lot of hamper into ones gambling, and their winnings as well. Not knowing when to stop is such a common thing, some people get so much ahead, like turn it multiple times higher than what they have won, and yet they still lose it all.
I remember there was a guy who made 200 dollars and turned it into 200k, he wasn't some poor guy, he was betting 200 dollars per bet, that's a rich person anyway, but he turned 200 into 200k, so that feels like it should be something that would be a lot more important. What happened after that? He lost all 200k and then some more. Because he saw that he won, so he wanted to keep going, even upped his betting and that is the most important part of the deal at the moment, stop when you are ahead.