Sure, Trump would have scuttled it again. But that was the alternative to war - and it achieved the main US goal.
And sure, the Iranians get a vote. And why would they want to make a deal with a country that had proven unreliable.
Still…it was one of the biggest failures of the Biden admin.