From Ronaldo point of view, his stay at Juventus was definitely worth it. Won every domestic title, scored 100+ and was the league top scorer last season. On the other hand, it wasn't exactly worth it for Juve because for the wages they were paying him, they were expecting him to be the final piece to finally win the CL.
The problem was that although he could be that final piece, the squad quality around him started to decline relatively fast and no matter how good he is, he is not a one-man army. The Mourinho quote pretty much resumes it for me - " Juventus bought a nuclear weapon that they don't know how to use".
With that said, Ronaldo is better without Juve and Juve are better without Ronaldo in the medium/long term. At least this way they can start to rebuild without having to allocate a good part of their wage budget on a single player and Ronaldo can play his final years in a team that has better conditions to challenge for the main titles right now (at least in terms of squad quality).