Second, America’s fundamental economic strength is rooted in the most stable of assets — its values. The U.S. is still an astonishing assimilation machine. It has successfully absorbed more than 20 million legal immigrants over the past quarter-century, an extraordinary influx of human capital. Americans are remarkably fertile. Birthrates are relatively high, meaning that in 2050, the average American will be under 40, while the average European, Chinese and Japanese will be more than a decade older.

The American economy benefits from low levels of corruption. American culture still transmits some ineffable spirit of adventure. American students can’t compete with, say, Singaporean students on standardized tests, but they are innovative and creative throughout their lives. The U.S. standard of living first surpassed the rest of the world’s in about 1740, and despite dozens of cycles of declinist foreboding, the country has resolutely refused to decay.

Third, not every economic dislocation has been caused by trade and the Chinese. Between 1991 and 2007, the U.S. trade deficit exploded to $818 billion from $31 billion. Yet as Robert Samuelson has pointed out, during that time the U.S. created 28 million jobs and the unemployment rate dipped to 4.6 percent from 6.8 percent.

That’s because, as Robert Lawrence of Harvard and Martin Baily of McKinsey have calculated, 90 percent of manufacturing job losses are due to domestic forces. As companies become more technologically advanced, they shed workers (the Chinese shed 25 million manufacturing jobs between 1994 and 2004).

Meanwhile, the number of jobs actually lost to outsourcing is small, and recent reports suggest the outsourcing trend is slowing down. They are swamped by the general churn of creative destruction. Every quarter the U.S. loses somewhere around seven million jobs, and creates a bit more than seven million more. That double-edged process is the essence of a dynamic economy.

I’m writing this column from Beijing. I can look out the window and see the explosive growth. But as the Chinese will be the first to tell you, their dazzling prosperity is built on fragile foundations. In the United States, the situation is the reverse. We have obvious problems. But the foundations of American prosperity are strong. The U.S. still has much more to gain than to lose from openness, trade and globalization.