I'd say it's modern technology that's eradicating poverty. You could make the argument that without capitalism we wouldn't have modern technology. But capitalism was around for centuries before we even got to the point where extreme poverty was on the retreat worldwide. And the most efficient engine for the eradication of poverty the world has ever seen, China, is arguably not capitalist. Joseph C. Sternberg, columnist for the WSJ, asserts that, "What makes a system capitalism rather than mere pursuit of capital is the ownership that brings with it both the motive to improve corporate performance (desire for profit) and the means to do so (control of the company’s management)," and argues that since investors in PRC firms have no control over management, it's not true capitalism. [0]
Some might also suggest there's nothing intrinsic to capitalism that ensures that workers will get paid enough to escape poverty, and without parallel advances in the philosophy of human rights, there would no push to eradicate poverty.
[0] https://www.wsj.com/articles/china-education-stocks-vie-vari...