Napoleon famously said that if your objective was to take Vienna, take Vienna. In other words, it is important in wartime to have clear objectives and to be single-minded in achieving them.
Trump is no Napoleon. It was never clear whether he was seeking regime change or not. If he was, he picked a method of achieving it that was doomed to fail from the beginning. That’s what makes this war so stupid.