What determines which culture will be the most dominant one is not one single factor, and some of them look completely random. For example, China invented movable type printing before Europe but Europe had an alphabet of discrete symbols that were optimized for stone engravings while China's alphabet was optimized for writing by hand quickly and with room for expression. That was one of the factors of why Europe could start the printing press revolution to democratize science and information.
I'm lucky to be living in Sweden in 2017, I would however want to move if this would've been 6th century Sweden.
Of course al-Khwarizmi wasn't the first or only person to "discover" algebra - he was building off of 2000 years of Greek, Persian, Arab, and Indian work.
The point wasn't that he's another great man[1], but that it's simply incorrect to talk about "Western science and technology" as if they're either isolated or monolithic -- they're neither.
If al-Khwarizmi hadn't have been Latinized and become the reference for Western mathematics until the Renaissance, then someone else would have. But that someone else would have come from the "Eastern" world, simply by virtue of where the relevant research and academic tradition was at the time.
According to Hobbes. Rousseau had some nicer things to say about the state of nature.
In either case, we're not in the state of nature: we live in prosperous societies, and we both can and ought to provide humane treatment to those who seek it from us.
> If you want to blame the refugees on what the West did, how about the fact that most of these people (most of whom are economic migrants, by the way) would literally not have existed without Western science and technology?
What, like algebra[1] and basin irrigation[2]? "Western science and technology" is built on hundreds of years of near-Eastern and Eastern work. Neither region has any right to claim full responsibility for its fruits.
Even if they did, you would need to be wilfully ignorant to minimize our (Europe and the US's) actions in the Middle East. The fact that we had (and continue to have) a reciprocal exchange of knowledge with them does not excuse what we've done in the modern era.
[1]: https://en.wikipedia.org/wiki/Muhammad_ibn_Musa_al-Khwarizmi
[2]: https://en.wikipedia.org/wiki/Irrigation#History