A war between Israel and Iran would be an epic disaster; too bad to even consider leaders of either country being that stupid. I think the arming of Israel with nuclear weapons is probably the biggest mistake the US has ever made... If Israel didn't have nuclear weapons there would be no way I'd consider Iran trying to get them (at almost any cost - we should have aiming for a nuclear free world), but with the situation as it is I wholly sympathise with their position.
Fortunately, leaders of Israel do not rely on your consideration when determining what is necessary to protect their country. It is very nice that you wouldn't consider Iran attacking Israel if Israel didn't have advanced weapons - but there's a little wrinkle in this otherwise perfect argument. Iran doesn't need your consideration to attack Israel - they are perfectly capable of doing so without it, and already doing it, albeit through proxies. If Israel did not possess advanced weaponry, they would do it directly - as was done many times before in history, and only the repeated failure taught those countries that direct attack does not work. Some of them learned the lesson and reluctantly accepted the existence of Israel, some just concluded they need a different, smarter tactics.
Oh maybe France sold them the material, but we all know America is consulted all the way on these things. If America had have said no it wouldn't have happened.