Unfortunately, Jews are accustomed to relocating, whether when forced to do so, or when the promise of a better life can be found elsewhere. In fact, a Jew is permitted to settle anywhere, with one exception. In the verse above the Torah intimates the prohibition against settlement in Egypt first mentioned earlier in 17:16.
Indeed, Rambam codified this ruling: “It is permitted to dwell anywhere in the entire world with the exception of the land of Egypt” (Mishneh Torah, Melachim 5:7). However, Rabbenu Bachye ben Asher (14th century Saragossa), student of Ramban, clarified that the Egyptian ban only applied during biblical times when the Torah considered its culture inhospitable to Jewish life.
Similarly, while a Jew can technically live anywhere, the Talmud says that once a Jew settles in Israel, he or she should not leave (Avoda Zara 13a). However, it is permitted if moving to the diaspora will help them to find a spouse or to increase their knowledge of Torah.
In other words, a Jew’s primary objective is to build a Jewish home and community and one should therefore always seek out a place where they can best do so.