The price of oil, US midterm results, Gulf countries scrambling, that certainly doesn't look like they haven't imposed real costs.
> Yes, getting into conflicts from a position of weakness is generally a bad plan. Succesful countries plan for this sort of thing well before the conflict starts which results in the conflict not happening in the first place.
If by 'getting into conflicts' you mean 'getting invaded by the US and Israel' then sure. That just seems to be saying 'don't get invaded, sucker' which, while sound advice doesn't actually work out if someone's intent on invading you.
The Iranians are not trying to 'win' as such, but rather impose enough cost on the attackers that continuing the war no longer makes sense for them.
The truth is, you're not seemingly saying much of anything besides 'Iran bad'.