The original canonical work on capitalism, Adam Smith's "On the Wealth of Nations" lays this out clearly.