Israel M. Kirzner said this quote

The essential quality of a market system, contrary to popular thinking, is not that it promotes greed; but rather, that it renders greed harmless.