What he said was that they would only have the intention of developing nuclear weapons if Israel continues to have them. This makes a lot of sense for anyone living under the threat of nuclear blackmail from Israel. The easy solution is for Israel to give up its atomic weapons, and then they won't need their own.
Iran deal opposition grows among U.S. Republicans, Reuters poll shows (Reuters)
from the article: Iran: World can't block our atomic program while Israel has nukes