That makes the current debates in the US and the EU about limiting migration so silly and backwards. I come from the Netherlands; a country that used to punch way above its weight economically, militarily, and scientifically in the seventeenth century when New York was still called New Amsterdam. That happened on the tail-end of the rest of Europe pushing out intellectuals, religious minorities, etc. a lot of whom ended up in Amsterdam. You might think of Amsterdam as the seventeenth century Silicon Valley. Modern day dutch politics are dominated by populists with an anti migrant sentiment. They are longing for the good old days when the Netherlands was so great without realizing that migrants were a big part of that greatness.
Later London took over. And eventually the US ended up absorbing a lot of immigrants and became a world power. Twentieth century New York became the amazing place it is today. These events are not disconnected. You need a critical mass of migrants for stuff like this to happen.
I currently live in Berlin, which has a lot of people moving to it from all over the place. It's too early to tell for sure but I wouldn't be surprised to see some beautiful things happen here over the course of the next decades. If it does, it will be despite of the locals. Silicon Valley increasingly feels like it has a lot of greatness in its past but not necessarily in its future. There sure is a lot of money there. And some good universities. But moving there is not the logical move it would have been twenty years ago. I never did but it could have easily happened.