President Trump pledged to rebuild the military during a stop Monday at Central Command in Tampa, Fla., where he also accused the “the very, very dishonest press” of not reporting all terrorist incidents.

“Radical Islamic terrorists are determined to strike our homeland as they did on 9/11, as they did from Boston to Orlando to San Bernardino. and all across Europe — you have seen what happened in Paris and Nice,” Trump told members of military.

“It’s gotten to a point where it’s not even being reported, and in many cases, the very, very dishonest press doesn’t want to report it. They have their reasons and you understand that.”

White House spokesman Sean Spicer later explained that Trump felt terrorist attacks had been under-reported.

“He felt members of the media don’t always cover some of those events to the extent that other events might get covered. Protests will get blown out of the water [out of proportion], and yet an attack or a foiled attack doesn’t necessarily get the same coverage,” Spicer said.

Asked for specific instances of such press omissions, Spicer responded: “We’ll provide a list later. There’s several instances.”

In his remarks, Trump also vowed to rebuild the military and defeat ISIS.

“To these forces of death and destruction: America and its allies will defeat you. We will defeat them . . . and we will not allow them to take root in this country,” Trump said of ISIS, the terrorist organization that controls parts of Syria and Iraq and has inspired attacks around the world.

“You’ve been lacking equipment. We’re going to load it up. We’re gonna be loading it up with beautiful new equipment,” he added.

“We have your back, every hour, every day, now and always. That also means getting our allies to pay their fair share.”

The president also used his remarks to take a victory lap, rallying the assembled troops by saying, “We had a wonderful election, didn’t we?”

Speaking of his approval numbers, Trump noted how well he did with the military, saying, “I saw those numbers. And you like me and I like you.”

The president went on to implore “free riders” in NATO to pay their fair share, “which many of them have not been doing.”

But he added, “We fully support NATO.”

At the beginning of his remarks, Trump recognized Gov. Rick Scott (R-Fla.), who endorsed him for president and who was at MacDill Air Force Base for the remarks. Trump praised Scott’s support, taking a shot at those who didn’t back his candidacy.

“If they don’t endorse, it’s never quite the same,” he said.