HONG KONG • Official Chinese media are having a field day touting the dysfunction of Western democracies. Between the British vote to "Brexit" the European Union and the nomination of Mr Donald Trump as the Republican candidate for the US presidency, not to mention increasingly frequent terrorist attacks, they have plenty of evidence. But the truth is that the West's loss is not China's gain.
The hope, of course, is that the current travails of democracies around the world could boost the credibility of the Chinese Communist Party. And, indeed, a commentary in People's Daily, the CCP's official newspaper, portrayed the Brexit vote as a reflection of the fundamental flaws of Western democracies. The same paper used Mr Trump's rise to show that, in the American system, political leaders are "helpless" to address "complex social conflicts" like racial tensions and other sources of popular discontent.
The Global Times, an ultra-nationalist tabloid affiliated with the People's Daily, seemed to suggest that recent terrorist attacks in the West were a harbinger of some kind of democratic apocalypse. The West may be facing some mysterious and unthinkable "change", intoned the tabloid.
Given the CCP's ideological hostility to the West, and its zero-sum geopolitical mindset, such gloating should come as no surprise. Indeed, the CCP has long used challenges that arise in democratic countries as part of its never-ending effort to enhance its own legitimacy. Claiming that democracy barely works in the West, the party argues that it would be disastrous for China. Moreover, so long as China's government is delivering consistently rising standards of living, as it has been over the last few decades, there is no need, according to the authorities, even to consider alternative systems.
But there is little evidence that democratic tumult translates into autocratic legitimacy. On the contrary, dictatorships have historically fallen, regardless of the fortune of Western democracies.
The CCP derives more legitimacy from Western democracies' success than it would from their failure. No good business person would hope their best customers go bankrupt.
When the so-called third wave of democratisation began in the mid-1970s, Western democracies were mired in stagflation and the political trauma of the Vietnam War. The fall of communism in the former Soviet bloc coincided with the reinvigoration of Western democracies in the 1980s. When the Arab Spring erupted in 2011, Western democracies were struggling with the consequences of the global financial crisis of 2008.
All of this suggests that autocrats in China should not be holding their breath for some Brexit-induced surge in support. Though stories of democratic dysfunction can give people living under autocratic rule a negative impression of democracy, the effect is most likely short-lived. As long as dictatorships mistreat their own people and fail to improve their lives, their legitimacy will be challenged.
Of course, China is no ordinary autocracy. But what makes it unique - the link between the CCP's authority and its ability to sustain economic growth - does not make its gloating any more rational. After all, one of the keys to China's economic success is its integration into a global economy dominated by the Western democracies, which buy roughly 60 per cent of Chinese exports.
In other words, the CCP derives more legitimacy from Western democracies' success than it would from their failure. No good business person would hope their best customers go bankrupt. It makes little sense that the CCP is so pleased about the struggles of China's most valuable trading partners.
The factors driving the challenges facing the Western democracies today hold even worse implications for China. Support for Brexit and Mr Trump is rooted largely in voters' rejection of globalisation. Regardless of how Brexit or the US election plays out, it is very likely that governments in Western democracies will respond to voter angst and take measures that imply a return to some degree of protectionism.
As the world's largest exporter, China will not escape the damaging economic consequences of such efforts. In that context, the legitimacy of the CCP, already challenged by China's economic slowdown, could erode further. Instead of gloating, China's leaders should be watching developments in the Western democracies with concern - and start planning for their own difficult times ahead.
•Minxin Pei is professor of government at Claremont McKenna College and a non-resident senior fellow at the German Marshall Fund of the United States.