Not cancel the Iran deal.
So allowing them to make the bomb, but having them wait a few years first, during which they can work on all the technology they need to deliver the bomb, while giving them the cash they need for this and opening up their economy making everything easier, would've been a lot better than at least
trying to stop them -- even if it's ultimately unsuccessful.
