"And God said to Jacob: Return to the land of your fathers and to your birthplace, and I will be with you" (Genesis 31:3). Let our master teach us: A courtyard of Israelites in which gentile star-worshippers dwell — what is the law as to whether its eruv is a valid eruv? Thus our Rabbis taught: A courtyard of Israelites in which gentile star-worshippers dwell — it is forbidden for an Israelite to make use within it until he obtains permission from the gentile star-worshipper. Why? Because it is written, "In every place where I cause My name to be mentioned" (Exodus 20:24), and the Holy One, blessed be He, does not single out His name among those who serve idols; rather, "and I shall be sanctified among the children of Israel" (Leviticus 22:32), that you should not join yourself among the wicked, for the Holy One, blessed be He, does not single out His name among them. Know for yourself that this is so. Rabbi Eleazar ben Padat said in the name of Rabbi Yose ben Zimra: All the while that Lot was attached to Abraham, you do not find that the divine speech was singled out upon Abraham. Once Lot separated from him, the divine speech was singled out upon him, as it is said, "And the Lord said to Abram, after Lot had separated from him" (Genesis 13:14). And so too you find: at the time that Jacob went out to Aram Naharaim to go to Laban, he spent twenty years with him, and all the days that Jacob was in the house of Laban the Holy One, blessed be He, did not speak with him. And Jacob was brooding and saying: Has the Holy One, blessed be He, thus abandoned me? Did not the Holy One, blessed be He, say to me, "And behold, I am with you" (Genesis 28:15)? The Holy One, blessed be He, knew what he was brooding in his heart. The Holy One, blessed be He, said to him: You seek that I be with you? Separate yourself from Laban the wicked, and I will be with you. From where? From what they read concerning the matter: "And God said to Jacob" (Genesis 31:3).
Why God Stayed Silent While Jacob Lived With Laban
Midrash Tanchuma Buber, Vayetzei 21:1
ויאמר אלהים אל יעקב שוב אל ארץ אבותיך ולמולדתך ואהיה עמך (בראשית לא ג), ילמדנו רבינו, חצר של ישראל ונכרים עובדי כוכבים דרין בתוכו, מהו שיהא עירובו עירוב, כך שנו רבותינו חצר של ישראל ונכרים עובדי כוכבים דרין בתוכה אסור לישראל להשתמש בתוכה, עד שיקח רשותו של נכרי עובד כוכבים, למה שכתיב כל המקום אשר אזכיר את שמי וגו' (שמות כ כד), ואין הקב"ה מייחד שמו בתוך עובדי ע"ז, אלא ונקדשתי בתוך בני ישראל (ויקרא כב לב), שלא תתחבר בתוך הרשעים, שאין הקב"ה מייחד שמו בתוכן, תדע לך שוא כן, אמר ר' אלעזר בן פדת בשם ר' יוסי בן (קסמא) [זמרא] כל זמן שהיה לוט דבוק עם אברהם, אין אתה מוצא שנתייחד הדיבור על אברהם, כיון שפירש לוט ממנו נתייחד עליו הדיבור, שנאמר וה' אמר אל אברם אחרי הפרד לוט מעמו (בראשית יג יד), וכן אתה מוצא בשעה שיצא יעקב לארם נהרים לילך אצל לבן עשה אצלו עשרים שנה, וכל הימים שהיה יעקב בביתו של לבן לא דיבר עמו הקב"ה, והיה יעקב מהרהר ואומר כך הניחני הקב"ה, לא כך אמר לי הקב"ה והנה אנכי עמך (שם כח טו), ידע הקב"ה מה הרהר בלבו, א"ל הקב"ה אתה מבקש שאהיה עמך, הפרש עצמך מלבן הרשע, ואהיה עמך, מנין ממה שקראו בענין ויאמר אלהים אל יעקב.