And the massive increase in living standard can be attributed to multiple factors that was all needed to make it possible, superposition as it is called in physics, e.g. a proper contracting framework, a literate and educated public, technological advances, deregulating markets from the old estates system, etc.
We can take Sweden as a good example, yes the legislative change in 1864[1] that anyone could operate a business was crucial, but where did all the talent come from that actually created all those famous Swedish companies and inventions? Many came from the Swedish Army because Sweden was an old Great Power and the army needed many engineers to be able to build fortifications and such. Two of the most famous ones would be Nils Ericson[2] and his younger brother John Ericsson[3]
But you also need qualified workers and it happens that Sweden had at the time one of the most literate population in the world because of the Swedish state church. In the old days Sweden was quite strict religiously and the Swedish state church had conducted Household Examinations since 1686[4] about general knowledge in the Bible and Luther's Small Catechism. You can't really run a modern industry with an illiterate public.
Thus attributing everything to "capitalism" is gross simplification of history.
[1] https://en.wikipedia.org/wiki/Decree_of_Extended_Freedom_of_...
[2] https://en.wikipedia.org/wiki/Nils_Ericson