That was some speech President Trump gave Tuesday at the UN General Assembly — making a case against globalism, blasting China and Iran and exposing border-activist policies as “cruel and evil.”

“The future does not belong to globalism,” he insisted, but to “sovereign and independent nations” that “respect their neighbors” and honor differences.

It’s not often you hear such utterances from a top Republican or Democrat, especially at such a gathering of world leaders. Yet it goes without saying that the more a nation defers to global power, the more it loses control over its destiny. (See: Brexit.)

Trump noted how China was let into the World Trade Organization on the hope that it would reform and respect the rule of law. Instead it embraced “massive market barriers” and “the theft of intellectual property.”

Yet globalism’s “religious pull” led leaders to “ignore their own national interest” and China’s contempt for fair play.

The president was likewise honest about Iran, citing its “record of death and destruction” and “fanatical quest for nuclear weapons.” He warned “all nations” not to “subsidize Iran’s bloodlust.”

Trump also called out “radical” migrant activists, who “promote human smuggling” by encouraging illegal immigration. His message to them: “Your policies are not just” but “cruel and evil.” Migrants are “exploited” and abused by “vicious coyotes,” yet activists put their own “false sense of virtue” before the “well-being” of those on whose behalf they agitate.

Trump’s blunt message wasn’t just refreshing but sorely needed at this gathering of deceitful leaders and moral pretenders.