Where greed comes in is where people dive into a market precisely because it is going up like crazy, which you only know after it goes up like crazy, then when it takes a down turn, hang on too long because they don't want to give up that expensive thing, then finally sell in a panic.
Buying high and selling low is a sure path to being poor.