However, while the exact argument being made by the OP is rather silly, there is at least one useful thing to take from this.
Fed basically had one year to benefit from Nadal not being at his best at RG. That was 2009 when, due to a drop in form, Nadal bombed out early to Soderling.
Djokovic had three of these, really four.
In 2015, Nadal was terrible. He started out okay in that quarterfinal but the second set was poor and the third was possibly the worst set he's ever played at the tournament. The name "Nadal" looks very impressive here, but in terms of actual level he was basically Ferrer-level in that match.
In 2016, of course, Nadal withdrew due to injury. And I'm not convinced he'd have been in stellar form even if he had played given he was still in his slump.
In 2021, Nadal was a bit better than in 2015 but he was still very far off his best. The movement wasn't there, his backhand was misfiring, and his stamina was lacking. If the last set of the 2015 quarterfinal was Nadal's worst at RG, the fourth set of this match was probably his second worst. Now, he started out the match fairly strong, but looking at this performance, can we really put it over any other version of Nadal aside from 2015? I find it difficult to even compare this match to 2009, which by all accounts was hardly peak Nadal either.
In 2022, Nadal improved in some respects compared to 2021 (notably the backhand and stamina) but declined further in others (notably movement). Still not classic Nadal by any means but good enough to defeat a mediocre Djokovic.
Djokovic deserves credit for his longevity on clay. Even if Nadal wasn't that great in 2021, you do have to consider that Djokovic himself was no spring chicken either, so his victory in that match is a very impressive display of longevity. This is just to show that his victories over Nadal don't necessarily indicate that he achieved a higher level at the tournament than Federer. Fed had plenty of losses back in the day (I'm thinking of 2005 and 2007 here) that very much outclass both players' efforts in the 2021 and 2022 matches, for instance. But facing 2005 or 2007 Nadal is not quite like facing 2021 or 2022 Nadal.