The US team celebrate their bronze medal on the podium after the women’s team sabre fencing event of the Rio 2016 Olympic Games, on August 13, 2016, at the Carioca Arena 3, in Rio de Janeiro. / AFP / Thomas COEX Image Credit: AFP

Pessimism has flavoured this presidential election campaign in the United States. America is in decline. The country is on the wrong track. It is getting its clocks cleaned in global trade deals. It is still suffering from the humiliation of Iraq.

The share of Americans who say that democracy is a “fairly bad” or “very bad” system of government is rising sharply. A quarter of young Americans feel that way, according to data drawn from the World Values Survey. A majority of young Americans believe that the US should stay out of world affairs, according to a Chicago Council on Global Affairs report.

Yet, when you watch the Olympics, America doesn’t seem like some sad-sack country in terminal decline. If anything, the coverage gets a little boring because it is always winning! And the winners have such amazingly American stories and personality types (Biles, Ledecky, and, yes, Lochte).

American Olympic performance has been astoundingly consistent over the recent decades. With rare exceptions, the US can be counted on to win between 101 and 110 medals Olympiad after Olympiad. The 2016 team seems on pace to win at least that many.

The country is not great when measured by medals per capita (New Zealand, Denmark, Hungary, Australia and Britain are the big winners there), but America does have more medals than any other nation in history and that lead is widening.

Moreover, America doesn’t win because it has better athletes (talent must be distributed equally). America does well because it has such great systems for preparing athletes. Medals are won by institutions as much as by individuals. The Germans have a great system for training kayakers, equestrians and throwers — the discus or javelin. It has amazing institutions to prepare jumpers, swimmers, basketball players, gymnasts, runners and decathletes.

The big question is: Is the greatness of America’s sports institutions reflective of the country’s strong institutions generally, or is it more like the Soviet Union’s sports greatness, a Potemkin show masking national problems?

Well, if you step outside the pall of the angry presidential campaign rhetoric, you see that America’s institutions are generally quite strong. Over the past decades, some developing countries, like Brazil, India and China, posted glitzy economic growth numbers. But those countries are now all being hampered by institutional weakness and growth is plummeting.

But America’s economic success is like its Olympic success, writ large. The nation’s troubles are evident, but the country has sound fundamentals. The American dollar is by far the world’s currency. The Food and Drug Administration is the benchmark for medical standards. The American patent system is the most important in the world.

Nine of Forbes’ 10 most valuable brands are American (Apple, Google, IBM and so on). It is the leading energy producer. It has 15 (at least!) of the world’s top 20 universities, while Hollywood is as dominant as ever.

America is also quite good at change. The median age in 37.8, compared with 46.5 for both Germany and Japan. The newer a technology is the more it is likely to dominate it — whether it’s the cloud or the sharing economy. According to the Economist, 91 per cent of online searches are done through American companies’ services and 99 per cent of smartphones are run on America-made operating systems. Some American industries have declined, but others are rising. American fund managers handle 55 per cent of the world’s assets. American businesses host 61 per cent of the world’s social media users.

On the presidential campaign circuit, global trade is portrayed as the great national disaster. America is being destroyed by foreigners! The Trans-Pacific Partnership was the central dominating boogeyman at the Democratic National Convention, especially among people who have no clue what’s in it. In fact, America succeeds in global trade about as well as at the Olympics. It ranks third, behind Switzerland and Singapore, in global competitive rankings put out by the World Economic Forum. When trade is levelled by international agreements, American firms take advantage and win customers.

As Robert B. Zoellick noted recently in the Wall Street Journal, in the first five years after the US concluded free-trade agreements, the country’s exports to those places have risen three times faster than overall export growth.

Over the past five years, Zoellick wrote, the US has run a $320 billion (Dh1.17 trillion) trade surplus in manufactured goods with its free-trade partners. The country’s farmers and ranchers boosted exports to free-trade partners by 130 per cent between 2003 and 2013.

In one important way, sports is not like economics. In Rio, there are only three medals in each event. Global trade is not zero-sum. It spreads vast benefits across societies, while undeniably hurting some businesses in narrow fields along the way.

Of course, America has to take care of those who are hurt, but the biggest threat now is unmerited pessimism itself and the stupid and fearful choices that inevitably flow from it.

— New York Times News Service

David Brooks is the author of The Road to Character. He also teaches at Yale University and is a member of the American Academy of Arts and Sciences