Yes, but I think that was the whole point. Iran doesn't want to get nuked by a superpower they know could completely destroy them (despite the whole Western world being terrified of them doing the nuking) and while they may have an authoritarian theocratic oppressive regime I don't think their leaders are quite as suicidal as some may think. I mean, some people seem to think the entire goal in life of the Ayatollahs is to get the Bomb, nuke Israel (and also vaporize millions of Palestinians and fellow Muslims given how tiny the land is? 🤔), and then get turned to glass and die as martyrs or something when Israel/the US retaliates. I can't technically *prove* that's an unlikely scenario, I admit. But I think it's pretty far-fetched. They might be crazy and oppressive. But are they really THAT crazy? North Korea has Nukes. And we all know their leader is a lunatic. Even they haven't pushed that button.
Yes, Iran possessing nukes is arguably a danger to global peace. No one really wants a theocratic dictatorship to become a military-armed power. But on the other hand, no one has actually ever used nukes in combat or against civilians since... the US in Japan in WW2. (Still the only country in human history that's actually used nuclear weapons on a civilian population... )
The whole point of nukes is as a deterrent. Even the most unhinged dictator nutjob knows you can't actually ever use them, or you get blown to bits. Nukes are like the million-pound note in that famous movie. You can't ever actually use it. The whole point is: I have a weapon that can kill us both, and so do you. So you can't touch me.
It's like some Bugs Bunny cartoon where you're holding a detonator that will kill the Martian but also kill you.
And the nukes we have now are so much more powerful than the original ones that the Hiroshima bomb looks like a pixel compared to the power of current H-bombs. (And let's not even get started on that ridiculous Tsar Bomba. A bomb so absurd that it can never actually even be deployed except by a drone or sth. Although the Russians did actually test it on some island. Poor wildlife.)
Iran even warned the US beforehand so they could evacuate the base. They didn't have to. And US air defence took out most of the missiles, so basically it did nothing meaningful.
I think it was more a political statement than anything. But hey, I don't have a doctorate in International Relations. I'm just some guy on the internet.