JCPOA only had temporary enrichment limits, which would end in 2030, after which Iran could enrich freely. It did not permanently stop enrichment.
If JCPOA was followed by both Iran and the US to the letter, we would face a similar crisis to the one seen today, except around 2031-2035.