Some people have applied the rules well and the right strategy, but they even ruined all of that with their continued greed. this all depends on each individual. I will do the same with you to overcome this greed, which is to identify the initial goal first so that you know what to do and what to keep.
Greed is really our enemy and even if we wanted to stop it but it is too difficult.
But what I see, this is not all about greediness, our mindset will also affect decisions. Let our positive mindset dominates our decisions, not our emotions. We also have to learn enough and exercise our minds to keep positive as this is the only it helps us not let our greediness get stronger that will soon controls us.
We all apply some rules and strategies, but the strong character is what is needed to eliminate greed! I don't think it's possible to eliminate greed completely, we all want "a little more, a little better", in a way that makes us better! So some level of greed always exists, it's about how good we are at controlling it! Experience plays a major role, we all start with hot heads and big wishes, we risk a lot to get even more, but it doesn't work that way, most of us know that in the long run, it takes a plan and patience to survive and be profitable!
People should know that control doesn't come overnight, it's something we need to practice every day if we wish to be good at it! Pretty much like everything else, practice makes perfect!