(Gen. 27:30:) "AND IT CAME TO PASS, WHEN ISAAC HAD FINISHED BLESSING JACOB, AND IT CAME TO PASS THAT JACOB HAD JUST GONE OUT, GONE OUT." Two goings-out are written here: "gone out, gone out." {Isaac said:} Isaac's gateway had two ends, a gate from the north and a gate from the south. Jacob went down with the platter in his hand; he saw Esau and hid himself behind the door, for one who is in the light does not see the one [who is in the darkness]. Therefore: "had just gone out, gone out," for had Esau seen him, he would have killed him. Rabbi Joshua ben Levi said: At the second hour Esau used to go in to study with his father, and at the sixth hour he would go out. But while Jacob was delayed [so much] over all this business, where was Esau until that hour? Rabbi Joshua ben Levi said: He was hunting game and binding it, but the angel would loose it and drive it away. That is what is stated (Prov. 12:27): "A deceitful man shall not roast his game, but the precious wealth of a person is diligence." The Holy One, blessed be He, said: It was not known to Jacob what miracles were performed for him, for at the moment that he went out, Esau came in, as it is stated, "And it came to pass that Jacob had just gone out, gone out," etc. Therefore David said (Ps. 86:10): "For You are great and do wondrous things; You alone are God." You know what miracles and wonders You are doing with this person, but he does not know. This person sleeps upon his bed and arises to put on his clothes; unless they make a search for whether there is a snake or a scorpion in them, he will cast them off without knowing of them, and be saved from them. Therefore David said to Him: It is for You alone to do wonders for us; it is upon us to bless You, as it is stated (Ps. 72:18): "Blessed be the LORD God [of Israel, who alone does wondrous things]." In Egypt You did miracles for us, and we recited a song to You at the Sea. The Holy One, blessed be He, said to them: In this world I have done wonders for you and redeemed you from the bondage of Egypt; so too am I destined to redeem you in the time to come from the bondage of Edom, and to do wonders for you, as it is stated (Micah 7:15): "As in the days of your coming out [from the land of Egypt] I will show him wonders."
Jacob Slips Past Esau by Isaac's Two-Gated Door
Midrash Tanchuma Buber, Toldot 17:2
ויהי כאשר כלה יצחק לברך את יעקב ויהי אך יצא יצא, (שם כז ל) שתי יציאות כתיב כאן יצא יצא, (יצחק אמר) החלון של יצחק היה לו ב' פיאות, שער מן הצפון ושער מן הדרום, יעקב ירד והריסקוס בידו, צפה את עשו ונטמן אחר הפתח, מי שבאור אינו צופה אותו (שכחו) [שבחשיכה], לכך אך יצא יצא, שאילו ראהו עשו היה הורגו. אמר ר' יהושע בן לוי בשתי שעות היה לומד עשו נכנס אצל אביו ובשש שעות היה יצא. ויעקב שאיחר [כל כך] בכל העסק הזה, היכן היה עשו עד אותה שעה, אמר ר' יהושע בן לוי היה צד ציד ואוסרו, והמלאך מתירו ומבריחו, הוא שנאמר לא יחרוך רמיה צידו והון אדם יקר חרוץ (משלי יב כז), אמר הקב"ה לא נודע ליעקב מה נעשה לו נסים, שבשעה שהוא יוצא נכנס עשו, שנאמר ויהי אך יצוא יצא וגו', לכך אמר דוד כי גדול אתה ועושה נפלאות אתה אלהים לבדך (תהלים פו י), יודע מה נסים ונפלאות אתה עושה עם האדם הזה והוא אינו יודע, האדם הזה ישן על מטתו עומד ללבוש בגדיו, עד שהן מפלאין אם יש בו נחש או עקרב ישליכם ולא ידע בהם וניצל מהן, לפיכך א"ל דוד לך לבדך לעשות פלאים עלינו להיות מברכין אותך, שנאמר ברוך ה' אלהים וגו' (שם עב יח), במצרים עשית לנו נסים, ואנו אמרנו לך שירה על הים, א"ל הקב"ה בעולם הזה עשיתי לכם פלאים, וגאלתי אתכם משעבוד מצרים, כך אני עתיד לגאול אתכם לעתד לבא משעבוד אדום, ולעשות לכם נפלאות, שנאמר כימי צאתך (ממצרים) [מארץ מצרים] אראנו נפלאות (מיכה ז טו).