When Federer had 9 slams, many experts at that time said he is greater player than Sampras. GOAT discussion is not just about numbers.
I think the point was that Federer was a better
overall player than Sampras, deduced from Fed dominating the world much more than Sampras ever did. Greatness OTOH is quite strictly tied with career accomplishments.