I did last year two races before the end a little subjective breakdown because it was a common opinion back in the day to say that while McLaren had over longer periods the best car the fact that Red Bull was dominant for some races at the start balances it out, so I weighted the races by how dominant I think the cars were, and had McLaren a bit ahead overall. not much, but still significant enough to say that even if you disagree with how I judged some races you'd still get the same order
6 points: dominant
5 points: quickest
4 points: competitive/joint quickest (basically races where I dont think the driver had the quickest car clearly or even joint in many cases, but where a win was possible regardless, in some races no one is ranked as quickest. I have put some weird compromisses in this category, e.g. Red Bull would have been further down in Brazil in the dry but I thought it was not appropriate to rate what was eventually a dominant win this low, likewise Leclerc in Spa who technically had the outright 4th quickest car but was somehow in the mix for the win too)
3 points: 2nd quickest but no chance for the win
2 points: 3rd quickest but no chance for the win
1 point: outright 4th quickest
So I get this, my very subjective opinion
Red Bull - 81 points
dominant (4): Bahrain, Saudi, Japan, China
quickest (1): Imola
competitive/joint quickest (9): Australia, Miami, Canada, Spain, Austria, Britain, Belgium, Baku, Sao Paulo
2nd quickest but no chance to win (2): Hungary, Singapore
3rd quickest, no winning chance (4): Monaco, Zandvoort, Austin, Vegas
outright 4th quickest (2): Monza, Mexico
McLaren - 87 points
dominant (3): Hungary, Zandvoort, Singapore
quickest (6): Spain, Austria, Belgium, Baku, Mexico, Sao Paulo
competitive/joint quickest (7): Miami, Imola, Monaco, Canada, Britain, Monza, Austin
2nd quickest, no chance to win (1): China
3rd quickest, no winning chance (3): Saudi, Australia, Japan
outright 4th quickest (2): Bahrain, Vegas
Ferrari - 60 points
dominant (0)
quickest (3): Australia, Monaco, Austin
competitive/joint quickest (4): Belgium, Monza, Baku, Mexico
2nd quickest, no chance to win (5): Bahrain, Saudi, Japan, Zandvoort, Vegas
3rd quickest, no winning chance (4): China, Miami, Imola, Sao Paulo
outright 4th quickest (6): Canada, Spain, Austria, Britain, Hungary, Singapore
Now I do concede that there are certainly bits you can rate differently (e.g. often McLaren came only alive in the races, you can always argue how much it trumps a quali deficit like for example in Austria), but I think both sides would find something so I think therabouts it's fine
I'd btw judge the last two races that are missing here for Red Bull with 4 points (Qatar) and 1 point (Abu Dhabi) & 4 points (Qatar) and 5 points (Abu Dhabi) for McLaren.