You are assuming years of there being a deal in place would result in the same state now that Trump created having torn up the deal.Again the deal was set to expire next year which would have allowed Iran to go back to the massive enrichment program they had before 2015. Maybe the UN would have re-engaged sanction until a new deal was formed but with Russia relying on Iran to support it's war on Ukraine, it is unlikely that they would pass the UNSC.
Trump brough the issue forward a few years but the problem would still be a problem unless Iran's leaders eventually decide that using a nuclear possibility as a threat isn't the best path forward.
I think there is very little reason to make that assumption.