No he isn't. He crapped all over Obama for ending the war in Iraq, along with most other Republicans. He kept the US in Afghanistan for his whole term and sabotaged the US exist on the way out, by setting a date far in the future, drawing down most US military assets, and negotiating the release of ~5000 Taliban who went right back to fighting. His policy toward Putin was pure appeasement.
Please find me any Republicans who gave Obama credit for ending the Iraq war - in his first term no less.
https://abcnews.go.com/Politics/fact-checking-donald-trumps-...