{...
The Iran nuclear agreement, formally known as the Joint Comprehensive Plan of Action (JCPOA), is a landmark accord reached between Iran and several world powers, including the United States, in July 2015. Under its terms, Iran agreed to dismantle much of its nuclear program and open its facilities to more extensive international inspections in exchange for billions of dollars’ worth of sanctions relief.
Proponents of the deal said that it would help prevent a revival of Iran’s nuclear weapons program and thereby reduce the prospects for conflict between Iran and its regional rivals, including Israel and Saudi Arabia.
...}
Diplomacy to revive this arms control agreement has faced multiple stumbling blocks, including Iran’s nuclear advances and its links to conflicts in the Gaza Strip and Ukraine.
www.cfr.org
Anyone can enrich ore and made nuclear weapons.
So there is no way to limit the technology.
But this agreement would have caused the Iranian to follow a verifiable moratorium, as well as giving up most of the fissile material they already enriched.
That alone would have set them back a decade.