Industrial revolution resulted malnutrition and deterioration of absolute living standards. It took almost hundred years from the start of the industrial revolution before real wages started to grow. You can see it from the historical records. The height of enlisted men in Britain decreased. Luddites were mostly right. They were not fighting against technology per se btw, they were fighting against losing their jobs.
The real benefits from industrialization were realized after hard political changes were made and capitalism was limited. It was very violent struggle. People were shot or beaten. Economic history teaches us that technological changes require political changes. What you attribute as triumph of capitalism ignores the fact that capitalism changed a lot. You don't create middle class from mid 18th century society.
Summary:
capitalism + technology + political change == benefits for everyone.