SF used the be the place you moved to when you were tired of the careerism of New York, Los Angeles, hell, maybe even Paris. In recent years, it has become the place people move from. I actually think some people might actually move from SF to NY because they're tired of the rat race and want to drop out of it, not because they want to join it.
As for Paris, well, nobody needs an excuse to want to move to Paris.
A couple of minor points:
"San Francisco never felt like home, a place to put down roots. Everyone I knew came from somewhere else, and no one was planning on staying around for long. Most people worked in tech, and they were too busy with their careers to have time to build real relationships with anyone else. As for housing, even with a good tech salary, I still felt like home prices in the area were way too high for me to ever contemplate buying a place of my own."
If you'd stayed, you wouldn't have felt this way forever. I have a friend who commented about this. He said that when he moved to SF, he wondered who was actually from SF. The longer he stayed, the higher the percentage of people he knew who had grown up in SF or nearby. Having kids and raising them here increases it even more.
I can't say you needed to try harder to stay, because housing is nuts here and it is very rational to decide not to bother, even if they can afford too stay. I have, ahem, seen people claim they are priced out of SF who turn their nose up at my south-of-280 neighborhood. But even there, you'd have trouble getting in for much under a mil. So at this point, yeah, I pretty much have total understanding for people who feel this way, though a small part of me still wonders if you didn't meet people outside of tech, including the people who grew up here, because you made a choice not to leave that bubble.
"Being an immigrant in France has also been a much more pleasant experience compared to the US." I've heard this. I mean this as a genuine question, since I don't know much about it, but... do you think this would be the case if you were an unskilled, low income immigrant, not from Canada or other prosperous country?