I can't think of a single way in which the United States came out ahead in the war. We have * Demonstrated that the US simply can't offer any meaningful security guarantee to it's middle east partners. * Permanently ceded de facto control over the straits of Hormuz to Iran * Significantly strengthened the hardliners in the Iranian regime and cleared the way for them to have absolute power by eliminating all moderates…
Your top point is honestly the biggest. Until this year, US military bases were seen as an asset. They were thought to deter attacks, and in the case of someone being crazy enough to attack the country that hosted a US military base, they sold the promise of a quick and decisive response. But for countries in the Middle East, every base was nothing but a liability with nothing but a long list of detriments. The bases…
The US bases are also pretty expensive to set up. Lots of logistic support has to be in place to let those bases function. That require a lot of support from the host country. Normally, you would expect the US to be friendly with the host countries, but that seems lost on the current administration.
What is really wrong is that it is known that russia is fighting in Ukraine with drones designed in Iran. And we have seen how hard it is for US designed weapons to deal with those drones. To the point that a lot of development is happening in Ukraine to deal with this problem.
By attacking Iran, the US has shown the world that Ukraine is the weapon supplier of choice against future drone wars.