That's too absolute a claim.
U.S. intelligence did not publicly establish that Iran was about to launch an imminent attack when the war began, but that is not the same as Iran posing no threat. Iran still had enrichment capability, ballistic missiles, regional armed partners, and other military...