Growing up in a second rate city in a country with little tech scene, my and my colleague options to advance our career was to leave our city or our country behind. Having to choose between family/friends and career is a pretty tough choice to face. My sister in law moved to the capital for 2 years and had a distance relationship until she was able to transfer back to our city.
WFH makes this much less of an issue. Now someone can have a successful career more easily even if they live in a small town. Having more choice of career while not sacrificing friends and family is something I wish I had 15 years ago.
At the same time people starting their career tend to be the ones who benefit the most from an office setup, so there is probably still a tradeoff to make.