It's not just a matter of place, but what you can have if you work for Google instead. I can make $200k as a freelancer in France, but much more as a Google employee.
Today I'm giving a training to 3 people, each paying 2600 for this training. It means this week they get billed 7800 in total. If you do that for 30 weeks (not even a full year), you get to 234000.
15 years ago, my team leader was already doing $15K month as salary, and it was a startup in Sophia, not Google, and a long time ago.
So it's all possible, but indeed, not the average situation. The median dev is underpaid in France: