How much does league matter?

Hello, I am an American who is getting into international football. I am wondering how much the league a player plays in dictates how good of a player they are. Let’s say a player finished a career with these something close to these stats

850 goals 300 assists 5 champions league wins (8 appearances) 1 WC win (4 appearances) 10 league titles

But, they played in the Belgian First Division A. Would they be considered one of goats along with Messi and Ronaldo or does the fact they played in Belgium play a big role in them not being up there?