"[And may El Shaddai grant you mercy]" (Genesis 43:14). What did Jacob see that he should bless them with El Shaddai? To teach you that many afflictions had come upon him. While he was yet in his mother's womb, Esau quarreled with him, as it is said, "And the children struggled together within her" (Genesis 25:22). And so it says, "Because he pursued his brother with the sword and destroyed his womb" (Amos 1:11)—"his womb" is written. He fled from Esau to Laban; see how many troubles: "Thus I was: in the day the drought consumed me," etc. (Genesis 31:40). When he departed, Laban pursued after him to kill him, [as it is said,] "And he pursued after him a journey of {three} [seven] days" (Genesis 31:23). He escaped from him. Esau came and sought to kill him; on his account he lost all that gift, "two hundred she-goats," etc. (Genesis 32:15). He went out from Esau, and the trouble of Dinah came upon him; and afterward the trouble of Rachel; and afterward these troubles. He sought to rest a little, until the trouble of Joseph came; and afterward the trouble of his father Isaac, who died ten years after the selling of Joseph. And the Scripture cries out, "I was not at ease, neither was I quiet, neither had I rest; yet trouble came" (Job 3:26). Afterward there came upon him the trouble of Simeon, and afterward the trouble of Benjamin. Therefore he prayed "And may El Shaddai," and said: The One who said to the heavens and to the earth "Enough" (dai) shall say to my afflictions "Enough" (dai). For when the Holy One, blessed be He, created the heavens and the earth, they kept stretching forth until the Holy One, blessed be He, said to them "Enough" (dai). Therefore it is written "And El Shaddai."
Why Jacob Blessed His Sons With El Shaddai After His Sorrows
Midrash Tanchuma Buber, Miketz 12:1
[ואל שדי יתן לכם רחמים]. מה ראה יעקב לברכן באל שדי, ללמדך שהרבה יסורין באו עליו, עד שהוא במעי אמו עשו מריב עמו, שנאמר ויתרוצצו הבנים בקרבה (בראשית כה כב), וכן הוא אומר על רדפו בחרב אחיו ושחת רחמיו (עמוס א יא), רחמו כתיב, ברח מפני עשו ללבן, ראה כמה צרות, הייתי ביום אכלני חורב וגו' (בראשית לא מ), היאך שיצא רדף אחריו לבן להורגו [שנאמר] וירדוף אחריו דרך (שלשת) [שבעת] ימים (שם לא כג) נמלט ממנו בא עשו בקש להורגו הפסיד עליו כל אותו דורון עזים מאתים וגו' (שם לב טו), יצא מעשו באתה עליו צרת דינה, ואח"כ צרת רחל, ואח"כ הצרות הללו, בקש לנוח קימעא, עד שבאתה צרת יוסף, ואח"כ צרת יצחק אביו שמת עשר שנים אחר מכירתו של יוסף, והכתוב צווח לא שלותי ולא שקטתי ולא נחתי ויבא רוגז (איוב ג כו), אח"כ באה עליו צרת שמעון, ואח"כ צרת בנימן, לפיכך היה מתפלל ואל שדי ואומר מי שאמר לשמים ולארץ די יאמר ליסורי די, לפי כשברא הקב"ה לשמים ולארץ נמתחין והולכין עד שאמר להן הקב"ה די לפיכך כתיב ואל שדי.