I agree with your point of view.
Whether a war is won should be judged by whether the objectives are achieved. The United States did not achieve its operational goals; on the contrary, Iran struck U.S. military bases, forcing the U.S. forces to withdraw from the Middle East.
At the same time, we need to note that the world's number one, the U.S., and the Middle East hegemon, Israel, invaded Iran, which had lost its naval, air, and air defense advantages. The Epstein coalition used weapons of absolute superiority but did not gain a battlefield advantage. This has had a huge impact on U.S. military hegemony, dollar hegemony, financial hegemony, and media hegemony.
In this war, the Epstein coalition not achieving victory means they lost the war, and Iran not losing the war means they won.