Magnus Carlsen could beat anyone but he has an unfair advantage because past world champions haven't had modern equipment and data to learn from.
Who Is The Best Chess Player

Chess.com analyzed the games of all grandmasters that calculate their game accuracy to solve their relative rating according to chess engines. It found out that so far Magnus Carlsen is the best player of all time.

I agree with @CraigIreland, there are many factors that can affect the game strength of players and one of them is accumulated game knowledge from the past years.
There are various ways to measure accuracy but its hard to do with players from different eras. I don't doubt chess.com's analysis but facts can be used in different ways to get different results. Here is a video that compares the three most thought to be in the running for GOAT, Carlsen, Kasparov and Fischer. Fischer seems to come out on top when comparing similar positions.
I Want To Know Who Is The Best Chess Player In Chess History?????
