What was said during and after the election were two different things.
Trump did the deal to end the war. Biden presided over it.
Trump escalated every war that was going on.
Trump was never going to take the political hit of ending a war.
I can't remember if he has already said he wouldn't have honored the agreement to pull his troops out or not.
I think he did.
As I Said, Rand Paul doesn't advocate for war. And he is an isolationist, even if he doesn't admit it.
Take it up with him:
Rand Paul Responds To His Critics On ISIS And Foreign Policy
The Federalist interviews Rand Paul on ISIS, his critics, and foreign policy.

Why Calling Rand Paul An Isolationist Is And Was Stupid
The media claims Rand Paul is changing his mind on military interventionism. He's actually just showing a commendable ability to discern interests.
Trump had many isolationist ideas too. NATO downsizing as an example.
Being against NATO isn't isolationist.
He was in favor of bilateral agreements instead of multilateral one.
He said again and again he was in favor of the US intervening wherever it wants, whenever it wants.
And what Trump also said if we go in we should take their shit to pay for it, not go in to get it in the first place. Subtle distinction. But I bet he said it both ways. He was good at that.
Which is why only an idiot would believe that he was against military intervention.
If Pew did it the press sure didn't report on it. Which is my point. They wanted to come up with the reasons then take facts from polling to fit them. Anti war popularity is not on the list.
The closest I've been able to find is a study the Intercept was involved with that showed the level of injury from war in a district tracked with propensity to vote Trump.
Of course, those districts already were voting Trump so it is dubious there is much evidence that this represented Obama voters switching to Trump.
I agree that the press did a lot of work to try and convince people that Trump was an anti-war candidate.
And I am sure that had an effect.
I just don't think it was the driving factor for the Obama-Trump switchers outside of a few marginal cases.

