Who thinks Trump will leave the Iran war for the next POTUS to resolve like he did Afghanistan?
Its irrelevant, middle east is likely lost for ever, unless we see some immediate change.
If Iran is not crushed, or regime changed, war will be ongoing and military bases in gulf will become permanent target. To crush Iran or change regime, at this moment solution is not visible.
So this is not long term sustainable situation.
If we look at latest international news.
Middle east is no longer called middle east. Its called "West Asia".
While Iran campaign came as surprise because western nations and western peoples were not prepared for this campaign, the term "west Asia" is probably propaganda well planned term prepared by Asian powers. It is not to be underestimated because they are about the half of global population.
Borders of countries in middle east were drawn by British and French at begging of century, after WW1.
After the British could no longer keep it after WW2, USA came in, and kept it under pax Americana.
Now this is again incontrollable region, and USA is loosing foothold.
In new emerging balance of powers on global stage, there are two wars onging.
Ukraine and Iran.
And west is not winning. And opponenst are not loosing.
In the same time, the opponents of the west were preparing for years with self sustainable industry (and Economy - via brics), for long war of attrition.
And we were not prepared for that.
Europe:
In all that, and with two large fronts, and ad hoc and patch up unprepared policies and without strategy, EU has lost access to cheaper energy, and economy is in decline. Russian oil under embargo, Saudi oil stopped with oil infrastructure heavily damaged to Red Sea, and Hormuz blockade on other side.
America:
America on the other hand, is in much better position with its control of resources in its own region. (South America, Venezuela, Mexico, etc) This also means America has a way out. And Europe will need to reinvent their energy strategy
Middle east from western perspective?
I think too expensive to invest "blood and treasure" by west, and more losses will spiral to more serious political frictions at home land, because as I said, we were not prepared politically and mentally.
It will be few years till all this settles down. Most of political and economy annalists say, the new global order and system will be established around 2030. It is not a deadline, it is plus minus estimate, a year or two, sooner or later. Probably later, maybe 2035.