But China did not abandon totalitarian rule as Western democracies expected it would when it acquired a prosperous, educated and enterprising urban population. Rather it has become more totalitarian in recent years under a Communist Party leader who has steadily consolidated his command of the party and the party's control of China.
It is not yet clear how much threat this poses to countries outside China's immediate sphere of influence, which includes Hong Kong, Taiwan and the whole of the South China Sea.
Western democracies have watched helplessly this year as Hong Kong's liberties have been steadily removed. Nor has there been much resistance to the construction of bases in the South China Sea.
But Taiwan might be the crunch. The US carefully avoids declaring it would come to Taiwan's defence if China attempted to reclaim the island by force, but China clearly remains wary that it would. Replicas of US ships have recently been spotted in China as practice targets for its air force.
New Zealand is doing its utmost to retain its good relationship with both the US and China, a valued export market.
Australia has discovered how difficult that can be, suffering trade retaliation from China for seeking an inquiry into the source of Covid-19. That has not stopped Australia forging a new military pact this year with the US and United Kingdom.
New Zealand's Defence Assessment stresses its security relationships with Australia and the other "Five Eyes" partners, the US, Canada and the UK, which our Government now accepts is more than an intelligence sharing partnership. The Assessment declares, "the defence aspect is as long-standing and as fundamental as the intelligence aspect".
It is hard to avoid taking sides but New Zealand's diplomatic efforts must continue to avoid needless antagonism of China and to do what we can to remind the US its real power lies in its competitive economy and fair rules for trade.
Pacts such as the Trans-Pacific Partnership, which China wants to join and the US should rejoin, are the most reliable source of security, for they generate mutual prosperity and peace.