Much the contrary, it showed them that without a nuclear weapon they can be attacked willy-nilly by the USA/Israel, without a nuke it doesn't matter what kind of agreement or deal they reach it can always be reneged.
Iran looks at North Korea and want that kind of regime stability, at least from outside threats.