Republican presidential nominee Donald Trump holds a purple heart medal given to him by Lt. Col. Louis Dorfman. (Molly Riley/Agence France-Presse/Getty Images)
Opinion writer

Donald Trump, who had five draft deferments, never had to fight in the jungles of Vietnam.

But he had a different sort of war record, as he told radio host Howard Stern years ago: He slept with many women without getting STDs. “It is my personal Vietnam,” he said. “I feel like a great and very brave soldier.” What’s more, Trump added: “This is better than Vietnam. It’s more fun.”

Said Stern: “Every vagina is a landmine. Haven’t we both said that in private?”

Trump concurred: “I think it is a potential landmine. There’s some real danger there.”

At a rally in Greenville, N.C., Sept. 6, Republican presidential nominee Donald Trump said that as president he would give his top generals 30 days to present him with a plan to defeat the Islamic State terrorist group. (The Washington Post)

I recalled this Trump war story after his latest disparagement of the U.S. military Wednesday night. Asked to elaborate on his previous boast that “I know more about ISIS than the generals do,Trump said at NBC’s national security forum Wednesday that, under the Obama administration, “the generals have been reduced to rubble. They have been reduced to a point where it’s embarrassing for our country.”

Trump later implied that he would fire current generals — who, in the American tradition, are avowedly nonpartisan — and replace them with retired generals who have supported him politically. His advisers on defeating the Islamic State will “probably be different generals” from the current ones. My former Post colleague Tom Ricks, author of “The Generals” and four other books on the military, tells me that would be “banana republicanism.”

It’s difficult to think of a major political figure who has belittled the U.S. military as Trump has. Sunday is the 15th anniversary of the 9/11 attacks, which ushered in a “support our troops” spirit that has endured regardless of party or opinion of the wars that followed. But Trump goes beyond the standard criticism of the president and civilian leaders to condemn the military itself.

“Our military is a disaster,” he has said.

And: “The military is in shambles.”

Soon after launching his campaign, Trump said of John McCain, the prisoner-of-war-cum-senator, “he’s not a war hero” and that “I like people who weren’t captured.” He later backtracked but said he didn’t regret the remarks because “my poll numbers went up.

He said that he “felt that I was in the military” because as a boy he went to a military-themed boarding school, where he got “more training militarily than a lot of the guys that go into the military.”

The day after the New York Times reported he received five draft deferments during Vietnam, GOP presidential nominee Donald Trump told rally-goers in Ashburn, Va., that a man had just given him his Purple Heart medal. Trump added, "I always wanted to get the Purple Heart. This was much easier." (Sarah Parnass/The Washington Post)

He recently accepted a wounded-in-action veteran’s Purple Heart, saying: “I always wanted to get the Purple Heart. This was much easier.”

He played down dangers troops face in up-armored Humvees: “If a bomb goes off . . . they’re okay. They go for a little ride upward and they come down.”

He suggested troops responsible for distributing cash in Iraq and Afghanistan had stolen the money, saying, “I think they’re living very well right now, whoever they may be,” and “those soldiers — I wouldn’t be that surprised if the cash didn’t get there.”

He said, before backtracking, that he would order the military to torture detainees and to target innocent family members of terrorists — even though both are illegal: “If I say do it, they’re going to do it.

He later engaged in a high-profile squabble with the Gold Star parents of a U.S. soldier killed in Iraq because they criticized him at the Democratic convention.

Though Trump talks often about veterans, he didn’t make good on a promised contribution to veterans charities after a fundraiser this year until The Post noted his failure to do so. (Years ago, he opposed veterans working as street vendors on New York’s Fifth Avenue, calling it “deplorable” to have them on the “prestigious shopping street.”)

Trump has called John Allen, the retired officer who coordinated efforts against the Islamic State and now backs Hillary Clinton, a “failed general.” And, though Trump said at Wednesday’s forum that the “body language” of the intelligence officials in his security briefings indicated they disagree with Obama administration policies, he previously said he didn’t trust U.S. intelligence officials.

Polling shows Trump leads among veterans and active-duty military members, though by less than Republicans typically do. Perhaps members of the military will change their views if a President Trump does, as he suggested, replace current generals with some of the 88 retired military officials who signed a letter endorsing his candidacy this week.

These include retired Lt. Gen. William G. “Jerry” Boykin, now an official at the Family Research Council, who believes Satan is working through Islam and who says gay rights are an “evil” that must be opposed by “God’s army.” Also on Trump’s list is retired Lt. Gen. Thomas McInerney, a Fox News commentator who supported an Army officer who refused to deploy to Afghanistan, claiming President Obama was foreign-born and therefore an illegitimate commander in chief.

The officer, Lt. Col. Terry Lakin, was sentenced to military prison in a court-martial. But if Trump wins, perhaps the political supporters he appoints to replace the nation’s nonpartisan generals will reinstate and promote him.

Twitter: @Milbank

Read more from Dana Milbank’s archive, follow him on Twitter or subscribe to his updates on Facebook.