Corrections:-
1. 9/11 event motivated US to take action against what they perceived as ROGUE REGIMES in the Islamic bloc. You may thank
Osama Bin Laden for American crusade since 2001.
2. Iranian Navy was well-equipped back then, and Iranian Air Force provided cover from above. Details in this link:
https://www.usni.org/magazines/proceedings/1989/may/surface-view-operation-praying-mantis
3. US have accomplished all of its military and political objectives vis-a-vis Iraq since 1990. Strange for you to tout 'America lost the war in Iraq' part.
What did Iran accomplish in its war with Iraq in comparison? Pushed Iraqi military forces out from Iran but at the cost of many lives.
4. Pakistani state did not shelter Osama Bin Laden in Abbottabad.
5. Afghan Taliban resurged in Afghanistan because American efforts to REFORM Afghanistan did not work out as intended. However, US eradicated Al-Qaeda Network in the Afpak region - primary objective.
I have questions for you:-
How many countries have Pakistan affected with its proxies by now? How many have Iran by now?
HINT: Not a fair comparison.