(Genesis 37:1:) "And Jacob dwelt in the land of his father's sojournings." This is what Scripture says (Deuteronomy 33:27): "The eternal God is a dwelling place." Rabbi Jeremiah said: We do not know whether the dwelling place is God or whether God is the dwelling place. When it says (Psalms 90:1), "A prayer of Moses, the man of God: O LORD, You have been a dwelling place for us," [behold, the Holy One, blessed be He, is the dwelling place of His world, and His world is not His place]. Although the Holy One, blessed be He, created His world, none but a righteous one dwelt in the land; and by their merit they sustain the world, as it is said (Deuteronomy 33:27, continued): "And underneath are the arms of the world." Come and see: that all the days the wicked are in the world, the righteous are not seen. And so you find that all the days Esau was in the land of Israel, Jacob was unable to appear. Esau departed, as it is said (Genesis 36:6): "And Esau took his wives, etc." Immediately, "And Jacob dwelt." Therefore (Deuteronomy 33:27, continued): "And He drove out the enemy from before you." At that hour (Deuteronomy 33:28): "And Israel dwelt in safety, alone."
Jacob Dwells Only After Esau Leaves the Land
Midrash Tanchuma Buber, Vayeshev 1:1
וישב יעקב בארץ מגורי אביו (בראשית לז א). זש"ה מעונה אלהי קדם (דברים לג כז), אמר ר' ירמיה אין אנו יודעים אם מעונה הוא האלהים אם האלהים הוא מעונה, כשהוא אומר תפלה למשה איש האלהים ה' מעון אתה (תהלים צ א) [הוי הקב"ה מעונו של עולמו ואין עולמו מקומו]. אעפ"י שברא הקב"ה עולמו לא ישב בארץ אלא צדיק, ובזכותן הן מעמידין את הועלם, שנאמר ומתחת זרועות עולם (דברים שם), בוא וראה שכל ימים שרשעים בעולם, אין הצדיקים נראין, וכן אתה מוצא שכל הימים שהיה עשו בארץ ישראל, לא היה יעקב יכול ליראות, עבר עשו שנאמר ויקח עשו את נשיו וגו' (בראשית לו ו), מיד וישב יעקב, לפיכך ויגרש מפניך אויב (דברים שם), באותה שעה, וישכן ישראל בטח בדד (שם).