Of course it makes sense you doofus. Of course you can only play against the competition you have, but if your competition is $#@!, then you can't be considered a greatest of all time, because you never really came up against quality opponents.
Messi and Ronaldo somehow magically disappear when they play for their countries (Portugal won the Euros in spite of Ronaldo, not because of him). In a club where the whole organization caters to you, and you have unlimited funds, it becomes a lot easier to win.
I will never consider Ronaldo or Messi GOATs or even top 5 of all time, because the quality of their opposition is nowhere near good enough, and they have failed to convince for their respective countries, Ronaldo less so because Portugal isn't really an elite footballing nation.