Here is a fact that deserves more attention: the global economy keeps refusing to die.

Think about the past six years. A pandemic. The sharpest inflation spike in four decades. A land war in Europe. A tariff battle between the world’s two largest economies. Now conflict in the Middle East has pushed energy prices higher again. Show that list to an economist in 2019 and they might have predicted a global depression.

Instead, the latest United Nations forecast puts world growth at about 2.6 percent this year. That is not great. It is below the pre-pandemic pace, and emerging markets—especially in the Middle East and North Africa—are under pressure. But it is not a collapse. The United States also added 162,000 jobs in August, the largest monthly gain in five months and well above economists’ expectations.

Why is the world economy so hard to kill? Two reasons stand out.

1. Trade does not stop. It reroutes.

Take solar panels. The United States has spent years imposing tariffs on Chinese solar products. Chinese companies shifted production to Southeast Asia. Washington extended tariffs there. Production moved again, including to Indonesia and Africa. Now investigators are looking at the Philippines, where exports to the United States have grown even as manufacturers continue to rely on Chinese cells.

This is tariff whack-a-mole, and the mole keeps winning. Supply chains behave a little like water: block one route and another opens. That frustrates anyone trying to decouple. It also means goods keep moving.

2. Everyone learned from 2020.

Companies built buffers. Governments wrote playbooks. Central banks showed they could act quickly. The system has more redundancy than it once did, and redundancy is one reason it is harder to break.

But resilience is not free.

Rerouting supply chains through several extra countries makes things more expensive. U.S. solar modules already cost far more than the global benchmark, and public debt is high in many countries, leaving governments less room to respond to the next shock. The world economy is like a cockroach: it survives, but survival is not the same as thriving.

The question for the rest of the decade is not whether the global economy can survive shocks. It clearly can. The question is how much growth we give up each time we choose fragmentation over efficiency.

My guess: more than the optimists think, but less than the doomers predict. That may be the story of the post-2020 economy.