It's more to do with signing Ronaldo at the expense of the rest of the team than Pirlo. They were already in a steep decline before this season getting knocked out by Ajax and Lyon in consecutive seasons in the CL after being in the top 3 or 4 teams in Europe for however many years before that and not winning the Coppa Italia in his first 2 seasons after winning 4 in a row before that