It's all about the incentives.
The history of socialism is the history of failure—and so is the history of capitalism, but in a different sense. For the history of socialism is one of fundamental failure, a failure to provide incentives and an inability to coordinate information about supply and effective demand. The history of capitalism, by contrast, is the history of dialectical failure: it is a history of the creation of new institutions and practices that may be successful, even transformative for a while, but which eventually prove dysfunctional, either because their intrinsic weaknesses become more evident over time or because of a change in external circumstances. Historically, these institutional failures have led to two reactions. They lead to governmental attempts to reform corporate and financial institutions, through changes in law and regulation (such as limited liability laws, creation of the FDIC, the SEC, etc.). They also lead market institutions to reform themselves, as investors and managers learn what forms of organization and which practices are dysfunctional. The history of capitalism, then, is the history of success through dialectical failure.