Isn't the opposite true?
Yes, globally. Last quarter of 20th century saw unbelievable growth in poor/developing countries. Something like over 1 billion were pulled out of the "under $2 per day" range.
Basically capital is flowing to people and regions that actually need it the most. (Edit: assuming culture, institutions, and laws that protect it.) Capitalism is probably the driving force for the (mostly) peaceful last 30 years, with exception to the middle east. When capital intermixes between nations, powered interests now exist to reduce military competition.
Of course some don't get off that easy, like banana republics or oil interests in middle east. And privatizing military production has its benefits and costs too... Because military secrets cannot be overly transparent by nature, but at the same time rely on government selection and oversight, you get a bad cocktail of incentives.
Still better than whatever alternative people like to dream up, given our current technology or technology for foreseeable future.