Even before Mr. Trump announced the pullout, non-American businesses were wary about making any financial commitments in Iran, fearful of such an outcome.
Many Iranians, who had hoped the nuclear accord would bring a flood of investment and business to the country of 80 million, have been deeply disappointed.
Reminding Iranians of this point, Ayatollah Khatami said Europeans had been expected to invest in Iran after the nuclear agreement took effect but most never did. He exhorted listeners to shout “Death to America!” and “Death to Israel!”
In response to what Israel has described as its aerial assaults on Iranian bases in Syria, Ayatollah Khatami also said that Iran would “rob the Israeli regime of sleep” and threatened to “raze Tel Aviv and Haifa to the ground.”
The American withdrawal from the nuclear accord is considered a serious political blow to Hassan Rouhani, Iran’s president, who had promised that the agreement would end the country’s prolonged isolation and economic travails.
The withdrawal also reinforced the anti-American hostility of Ayatollah Ali Khamenei, Iran’s supreme leader, who reluctantly had gone along with Mr. Rouhani and his nuclear negotiators.
The mood at Friday Prayer services was defiant in Tehran, where hard-liners burned American flags. One worshiper, Hassan Khedri, 24, with spiky hair and a sleeveless shirt, said: “I am an Iranian Kurd and I am ready to fight with America and Israel. I only wait for the command of the chief commander, our Supreme Leader Khamenei.”