An election that takes days to conclude? An incumbent who says he’s been cheated, and threatens not to leave? Armed vigilantes outside counting centers? The 2020 U.S. presidential election has been watched with bemusement in the rest of the world, and none have enjoyed the show more than the autocrats long criticized and preached to by Washington. They are wrong to cheer.

There are clearly grave problems with an unusually complex electoral system that has shown itself to be outdated, and with a system that has allowed the falsehoods, abuses of power and traducing of democratic norms emanating from the White House over the past four years. After Joe Biden’s victory, American society remains deeply divided. Yet for all the dysfunction, angry rhetoric and court cases, votes were counted. That makes all the difference.

Even before ballots were cast, state media in China and Russia were talking up the chaos. Since polls closed, the belligerence of President Donald Trump’s speeches alleging mass electoral fraud has allowed them to go much further.