It has also been understood to be fundamentally inherent to humanity as a consequence of our "need to survive", so trying to regulate it away is just inviting people to skirt said regulation
Since it's unavoidable, the best next thing is to design a system which takes greed as an input and outputs productivity. That system is called Capitalism and that is why it always wins.