It's a fair point, but I would flip this around a bit:
Ukraine wants nukes to defend itself from Russia (a nuclear power). Taiwan wants nukes to defend itself from China (a nuclear power). Iran wants nukes to defend itself from the US and Israel (both nuclear powers). India and Pakistan both want nukes to defend themselves from each other (both nuclear powers).
Now I don't want to get into a debate that it is really the benevolent Pakistanis fighting off aggressive Indians or vice-versa or that really Taiwan is the aggressor and that China is a benevolent neighbor, or that poor little Israel is just trying to defend itself from Iran, etc. Those regional squabbles mean nothing to me as I don't even care who is the "real" aggressor, all that matters is that you have two nations in conflict, and when there are two nations in conflict, it is not a stable situation to pretend that just one of them will have nukes but the other will not.
The moment one side gets nukes, the surrounding nations they are in conflict with will also want to get nukes. So as soon as the US got nukes, it's rival, the USSR, also got nukes. And as soon as Israel got nukes, it made it inevitable that at least a few regional rivals in the middle east will get nukes.
Trying to prevent this is guaranteed to fail. It does not matter what the government in Iran happens to be, as long as they care about their own survival, they know they need nukes as long as Israel has them. More importantly, attacking the nation before it gets nukes speeds the process of nuclearization along. Dramatically so. For instance, when Israel bombed the Iraqi nuclear power plant, Iraq, which at that time did not have a nuclear weapons program, went full speed ahead trying to develop one. Because it highlighted that they were at risk of being destroyed as nation from a violent neighbor, and so the urgency of developing their own nukes increased. As soon as India got nukes, it became a top priority for Pakistan to get them. If you don't believe that, then you don't understand the world. It does not matter who you think is the bad guy in a conflict, what matters is the asymmetry.
Whatever will be the outcome of this war with Iran, the Iranians now know that getting nukes is priority one. It will happen within a decade, most likely within a few years. The only way to stop this would be boots on the ground and a long term occupation of Iran, which of course no one, not even the US, is capable of doing.
And then Saudi Arabia will want nukes to defend itself from Iran. That's just how this works. KSA will be the next nation to get nuclear weapons after Iran.
Trying to pretend that you can maintain a long running conflict in which only one side has nuclear weapons is incredibly foolish. Obviously this is not going to happen.