When greed comes into play in betting, the decision can change. The level of greed in betting should definitely be kept at a tolerable level. I myself have regretted many such bets. Sometimes it was a big mistake to cash out my money and sometimes it was a big mistake not to cash out. These situations happened more often when I had high expectations. One should definitely review the decision well before placing a bet.
Indeed, I think greed is something that everyone who gambles has experienced, but the difference is that some people can control it well, while others can't. Furthermore, we should gamble prepared to lose and only deposit what we can afford. Greed and other feelings arise, I believe, because they aren't prepared to lose. Conversely, when they win, they follow it with greed, not by immediately withdrawing their winnings.
While sometimes cashing out is a big mistake, and sometimes, not cashing out is a big mistake, the important thing is not to assume that gambling will guarantee a profit.