(Bloomberg) -- China’s increasing willingness to challenge international norms must be resisted, New Zealand Prime Minister Jacinda Ardern told the NATO summit.

Rising tensions caused by Russia’s invasion of Ukraine were not limited to Europe, with the Pacific also experiencing “mounting pressure on the international rules-based order,” Ardern said in a speech Wednesday in Madrid, according to emailed notes. She singled out China, saying it has in recent times “become more assertive and more willing to challenge international rules and norms.”

“We must respond to the actions we see,” Ardern said. “We must stand firm on the rules-based order, call for diplomatic engagement and speak out against human rights abuses at all times when and where we see them.”

New Zealand has in recent years tried not to antagonize China, its largest trading partner, at times choosing not to co-sign statements from the Five Eyes intelligence-sharing alliance criticizing Beijing. But its nuanced position has become increasingly difficult to maintain as China steps up its engagement in the Pacific -- it signed a security pact with the Solomon Islands in April, sparking concerns it wants to increase its military presence in the region.

Ardern said New Zealand was not attending the NATO summit “to expand our military alliances.” Rather, “we are here to contribute to a world that lessens the need for anyone to call on them,” she said.

“We must use diplomacy at every opportunity, until it has proven to fail. We must strengthen the resilience of the Indo-Pacific region through relationships and economic architecture rather than militarization.”

Ardern condemned Russia’s actions as “an affront to all of us,” but urged NATO not to allow the legacy of the war in Ukraine to become a nuclear arms race.

“This crossroads that the world finds itself at should be the basis for us to put a halt in the production of weapons that create our mutually assured destruction, because the alternative is unfathomable,” she said.

©2022 Bloomberg L.P.