Without greed, we don’t have a drive to be better and improve our selves. Without ego, we lack a self to care about in the first place. And without anger, we lose a strong emotional response to the unjust treatment of our peers.
Even though you can come up with a million negative things they also bring, at least in moderation, these flaws are probably just as you say the reason our society made it to this point!