This is the biggest reason traders fail, I agree greed is the biggest enemy that comes out from our selves, and to overcome greed we need a trading plan, if we always keep discipline to follow trading plan rules, it could minimize greed effects.
It is very important to follow your trading strategy and learn to control your greed and stubbornness. The best strategies will not succeed if the trader's emotions prevail.