Life expectancy went up under capitalism, not down.
The Jungle is famously about horrifying working conditions back in the day and was critical for gaining public support for legislation and regulations. "Capitalism" didn't improve the working conditions; regulations did.
It went up for a long while, then starter trending down.
Don't cherry pick.