North Korea’s latest test of an intercontinental ballistic missile increases the chances of a war that will leave it “utterly destroyed,” President Trump’s top envoy to the United Nations warned Wednesday.

“The dictator of North Korea made a choice yesterday that brings the world closer to war, not farther from it,” Ambassador Nikki Haley told the UN Security Council.

“And if war comes, make no mistake, the North Korean regime will be utterly destroyed.”

Haley called on all countries to cut ties with the rogue nation and said Trump, in a conversation with Chinese leader Xi Jinping, urged a complete cutoff of oil supplies to its longtime trading partner.

Earlier Wednesday, North Korean despot Kim Jong-un declared that his country is a “responsible nuclear power” and reveled in its newest — and highest — launch.

“After watching the successful launch of the new type ICBM Hwasong-15, Kim Jong-un declared with pride that now we have finally realized the great historic cause of completing the state nuclear force, the cause of building a rocket power,” said a statement read on state-run television in North Korea.

It went on to say Pyongyang is a “responsible nuclear power,” claiming its strategic weapons were developed to defend itself from “the US imperialists’ nuclear blackmail policy and nuclear threat.”

Kim’s government said the rocket flew 590 miles and reached a high point of 2,780 miles — 10 times higher than the International Space Station — during its 53 minutes in the air before crashing into the Sea of Japan.

North Korean state media said the rocket could carry a warhead and withstand the extreme heat during re-entry of the Earth’s atmosphere.

The claim wasn’t independently verified.

But Defense Secretary James Mattis summed up the threat posed by the latest development in North Korea’s arsenal.

“It went higher, frankly, than any previous shot they’ve taken, a research and development effort on their part to continue building ballistic missiles that can threaten everywhere in the world, basically,” he told reporters Tuesday.

Secretary of State Rex Tillerson said the United States has “a long list of additional potential sanctions” it can use against North Korea that could involve financial institutions.

With Post wires