Looking at the Iranian Navy being sunk without really doing much of anything at great expense to Iran, with the rocket force and drone force making a good showing of themselves, I wonder why'd they even bother building boats beyond those suicide speed boats in the first place.
Even in a perfect scenario where Iran initiated hostilities with a fully prepared Navy, what did they really expect those boats to do?
There is an element of truth to the question, but there is also an element of logical fallacy to that line of bottom-line thinking.
Yes, the Iranian navy turned into really expensive practice targets for the Americans and Israelis in this war, but you can play this exact same scenario by subbing in basically any navy on earth bar the USN and PLAN and essentially arrive at the same outcome. In a one-vs-one war, the PLAN and USN will make practice dummies of every navy other than each other, does that mean no one else should have a navy?
The reality is that the overwhelming majority of navies (and armies and air forces) are not built to fight real wars, and most certainly not real wars against superpowers. Most navies are built for PP, peace and prestige. They are meant to allow states to protect their maritime interests and enforce their claims and rights during peacetime and in limited combat scenarios.
While it is absolutely true that given their geopolitical reality, it was foolish of Iran to pour so much resources into its navy, especially the fleet composition they did, but in the grand scheme of things, it was a relatively minor misstep that didn’t really carry much in the way of painful opportunity costs.