Was it worth it?

No. Iran gets 300 billion, sanctions lifted, gets to keep its ballistic missiles, regime intact, and gets to charge...