My mom talks about how her family did OK, at least socially, and always had the nearby public library as a refuge. When the Depression and WWII ended, they were pretty much back on their feet. My mom's neighbors in the tenements couldn't even read, and had dramatically different prospects.
Historically, the rule of capital has been the greatest reducer of poverty across centuries and countries. The rule of anything other than capital has been the most assured way to increase poverty.
However, capitalism is in itself an inherently broken system: because of the nature of capital, a perfectly capitalist society will approach a state where one actor owns everything, and everyone else owns nothing. As such, all countries practice a form of mediated capitalism: market functioning is limited by governmental action. Certain markets are not allowed to exist, while others are managed via regulation.
There is no inherent reason why capitalism cannot be adapted to preserve the utility of markets while simultaneously eliminating poverty.
The optimal state of capitalism is where resources are being allocated so perfectly, any changes would be a net negative to society
Loved ones killing themselves with crack cocaine can not be remembered fondly. Shitty emotional lives for children because of stressed out, alienated parents isn't either. Living in decay and not having basic necessities like a functioning sink met are not hot. The effects of poverty on self esteem are downright harrowing and saddening to even see.