It isn't simply capitalism. What system could handle this with grace? The only solution is world-wide care, which can only be achieved through civilization, education. Using an old-fashioned word: Bildung (https://en.wikipedia.org/wiki/Bildung). That could lead to the moderation required, but social-democracy is dead, and other political ideologies can't deliver. Hedonism triggered by material well-being in the last decades will kill us.