From "Morning in America" to "Yes, we can," presidential elections have long seemed like contests in optimism: the candidate with the most upbeat message usually wins. In 2016, that seems to have been turned on its head: America is shrouded in a most un-American pessimism.
The gloom touches race relations, which — after the shooting of white police officers by a black sniper in Dallas, and Black Lives Matter protests against police violence, followed by arrests, in several cities — seem to get ever worse. It also hangs over the economy. Politicians of the left and right argue that American capitalism fails ordinary people because it has been rigged by a cabal of self-serving elitists. The mood is one of anger and frustration.
America has problems, but this picture is a caricature of a country that, on most measures, is more prosperous, more peaceful and less racist than ever before. The real threat is from the man who has done most to stoke national rage, and who will, in Cleveland, accept the Republican Party's nomination to run for president. Win or lose in November, Donald Trump has the power to reshape America so that it becomes more like the dysfunctional and declining place he claims it is.
The dissonance between gloomy rhetoric and recent performance is greatest on the economy. America's recovery is now the fourth-longest on record, the stock market has hit all-time highs, unemployment is below 5 percent and real median wages are at last starting to rise. There are genuine problems, particularly high inequality and the plight of low-skilled workers left behind by globalization. But these have festered for years. They cannot explain the sudden fury in American politics.
On race relations there has, in fact, been huge progress. As recently as 1995, only half of Americans told pollsters that they approved of mixed-race marriages. Now the figure is nearly 90 percent. More than one in 10 marriages are between people who belong to different ethnic groups. The movement of nonwhites to the suburbs has thrown white, black, Hispanic and Asian-Americans together, and they get along just fine.
Yet despite all this, many Americans are increasingly pessimistic about race. Since 2008, when Barack Obama was elected president, the share of Americans who say race relations are good has fallen from 68 percent to 47 percent. The election of a black president, which seemed the ultimate proof of racial progress, was followed by a rising belief that race relations are actually getting worse.
What explains the divergence between America's healthy vital signs and the perception, put with characteristic pithiness by Trump, that the country is "going down fast"? Future historians will note that from about 2011 white and nonwhite babies were born in roughly equal numbers, with the aging white population on course to become a minority around 2045. This was always going to be a jarring change for a country in which whites of European descent made up 80 percent to 90 percent of the population for about 200 years: from the presidency of George Washington to that of Ronald Reagan.
Demographic insecurity is reinforced by divisive partisan forces. The two parties have concluded that there is little overlap between the groups likely to vote for them, and that success therefore lies in making those on their own side as furious as possible, so that they turn out in higher numbers than the opposition. Add candidate Trump, whose narcissistic bullying has prodded every sore point and amplified every angry sentiment, and you have a country that, despite its strengths, is at risk of a severe self-inflicted wound.