The Talmud states that dwelling in Eretz Yisrael is equivalent in weight to all the mitzvot of the Torah combined, and records that Sages uprooted themselves from Babylonia to immigrate to the Land solely on account of this teaching.
תָּנוּ רַבָּנַן: לְעוֹלָם יָדוּר אָדָם בְּאֶרֶץ יִשְׂרָאֵל אֲפִילּוּ בְּעִיר שֶׁרוּבָּהּ גּוֹיִם, וְאַל יָדוּר בְּחוּצָה לָאָרֶץ וַאֲפִילּוּ בְּעִיר שֶׁרוּבָּהּ יִשְׂרָאֵל, שֶׁכׇּל הַדָּר בְּאֶרֶץ יִשְׂרָאֵל דּוֹמֶה כְּמִי שֶׁיֵּשׁ לוֹ אֱלוֹהַּ, וְכׇל הַדָּר בְּחוּצָה לָאָרֶץ דּוֹמֶה כְּמִי שֶׁאֵין לוֹ אֱלוֹהַּ. שֶׁנֶּאֱמַר: ״לָתֵת לָכֶם אֶת אֶרֶץ כְּנַעַן לִהְיוֹת לָכֶם לֵאלֹהִים״. וְכֹל שֶׁאֵינוֹ דָּר בָּאָרֶץ אֵין לוֹ אֱלוֹהַּ? אֶלָּא לוֹמַר לָךְ: כׇּל הַדָּר בְּחוּצָה לָאָרֶץ כְּאִילּוּ עוֹבֵד עֲבוֹדָה זָרָה. וְכֵן בְּדָוִד הוּא אוֹמֵר: ״כִּי גֵרְשׁוּנִי הַיּוֹם מֵהִסְתַּפֵּחַ בְּנַחֲלַת ה׳ לֵאמֹר לֵךְ עֲבוֹד אֱלֹהִים אֲחֵרִים״, וְכִי מִי אָמַר לוֹ לְדָוִד לֵךְ עֲבוֹד אֱלֹהִים אֲחֵרִים? אֶלָּא לוֹמַר לָךְ: כׇּל הַדָּר בְּחוּצָה לָאָרֶץ — כְּאִילּוּ עוֹבֵד עֲבוֹדָה זָרָה.
§ In relation to the basic point raised by the mishna concerning living in Eretz Yisrael, the Sages taught: A person should always reside in Eretz Yisrael, even in a city that is mostly populated by gentiles, and he should not reside outside of Eretz Yisrael, even in a city that is mostly populated by Jews. The reason is that anyone who resides in Eretz Yisrael is considered as one who has a God, and anyone who resides outside of Eretz Yisrael is considered as one who does not have a God. As it is stated: “To give to you the land of Canaan, to be your God” (Leviticus 25:38). The Gemara expresses surprise: And can it really be said that anyone who resides outside of Eretz Yisrael has no God? Rather, this comes to tell you that anyone who resides outside of Eretz Yisrael is considered as though he is engaged in idol worship. And so it says with regard to David: “For they have driven me out this day that I should not cleave to the inheritance of the Lord, saying: Go, serve other gods” (I Samuel 26:19). But who said to David: Go, serve other gods? Rather, this comes to tell you that anyone who resides outside of Eretz Yisrael is considered as though he is engaged in idol worship.