Donald Trump’s foreign-policy remarks Wednesday will serve him well with voters: He offered a clear critique of what the nation’s been doing wrong, and promised a new “coherent foreign policy based upon American interests and the shared interests of our allies.”

His “America First” approach is a clear contrast with Hillary Clinton — who embraces the foreign-policy establishment that Trump faults for failing the country.

He started by identifying the key problems: Too few resources, with a weakened military and a weakened US economy. Allies who aren’t stepping up — in part because they no longer trust Washington to have their backs.

Enemies who don’t fear us, and rivals who don’t respect us.

Above all, “America no longer has a clear understanding of our foreign-policy goals.” And we haven’t since the end of the Cold War.

All indisputably true.

Along the way, he slammed the Obama-Clinton record of “weakness, confusion and disarray” — while also disavowing the interventionism and naïve nation-building efforts of the Bush years.

He de facto embraced the one aspect of President Obama’s policy the public likes: “I will not send our finest into battle unless necessary — and I mean absolutely necessary.”

Again, the contrast with Clinton is obvious: She’s always been more hawkish than Obama; it’s one reason he beat her in 2008. She pushed for the Libya war, and for intervention in Syria that Obama rejected.

Yet Trump will fight “when there is no alternative — but when America fights, it must only fight to win.”

This isn’t isolationism, but a longstanding US tradition that runs from the (Colin) Powell Doctrine all the way to Andrew Jackson.

In the same spirit, and also in stark contrast to Clinton, Trump repudiated mindless internationalism: Enough with agreements that limit the nation’s “ability to control our own affairs.”

His overall goal is “creating stability in the world” — notably in the Middle East.

He wants “a long-term plan to halt the spread and reach of radical Islam” and promises ISIS’s “days are numbered.”

He’ll rebuild the US military and US economy, try for realistic understandings with rivals like Russia and China — and refocus US alliances in Europe and Asia for the challenges of today.

It’s a tall order — but a coherent set of aims.

“We must make America respected again. We must make America truly wealthy again. And we must, we have to and we will make America great again,” he summed up.

“And if we do that, perhaps this century can be the most peaceful and prosperous the world has ever known.”

Game on, Hillary.