Here are the facts:
1. Iran may or may not have been building a nuclear weapon. US intelligence says they were at least 3 years away.
2. Iran did not attack Israel. Israel attacked Iran.
3. Iran did not attack the US. The US bombed Iran only because Israel asked the US to do so.