Another interpretation of (Genesis 30:23) "God has gathered." Rather, in the hour that Rebekah bore Jacob and Esau, two daughters were born to Laban. And they sent letters to one another, saying: You have begotten two daughters, and I two sons. Let us give these to these. And Leah would hear of the deeds of Esau and weep, while Rachel would hear of the deeds of Jacob and rejoice. [How do we know that Leah would weep? As it is said] (Genesis 29:17): "And Leah's eyes were weak." The interpreter of Rabbi Yose interpreted: What is "weak" (rakkot)? "Bleary" (tziryaniot, meaning circular). Rabbi Yohanan said to him: You have not interpreted well. Then what is "weak" (rakkot)? "Long-lasting" (arukkot), for all that the Holy One, blessed be He, gave to her was long-lasting: high priesthood, and kingship, and the anointing oil. And when Leah bore for Jacob, Rachel was distressed, saying: Perhaps Esau will take her, since I have not borne a son. And when she bore Joseph she said: "God has gathered up my shame." And there is no "shame" but foreskin, as it is said (Genesis 34:14): "For it is a shame to us." (Genesis 30:24:) "And she called his name Joseph, saying: May the LORD add for me another son." She foresaw by the Holy Spirit that she would bear only one other son.
Why Leah Wept and Rachel Named Her Son Joseph
Midrash Tanchuma Buber, Vayetzei 20:1
ד"א אסף אלהים. אלא בשעה שילדה רבקה ליעקב ולעשו, נולדו ללבן שתי בנות, ושלחו אגרות זה לזה לומר אתה הולדת שתי בנות ואני שני בנים, ניתן אלו לאלו, והיתה לאה שומעת מעשה עשו ובוכה, ורחל שומעת מעשה יעקב ושמחה, [מנין שהיתה לאה בוכה, שנאמר] ועיני לאה רכות (שם כט יז), תרגם מתורגמניה של ר' יוסי, מהו רכות צירניות (פי' עגילות), א"ל ר' יוחנן לא תרגמת יפה, ומהו רכות ארוכות, שכל מה שנתן לה הקב"ה היו ארוכות, כהונה גדולה, ומלכות, ושמן המשחה, וכיון שילדה לאה ליעקב, היתה רחל מצירה, לומר שמא יטלנה עשו מאחר שלא הולדתי בן, וכיון שילדה ליוסף אמרה אסף אלהים את חרפתי, ואין חרפה אלא ערלה, שנאמר כי חרפה היא לנו (בראשית לד יד), ותקרא את שמו יוסף לאמר יוסף ה' לי בן אחר, צפה ברוח הקודש שאינה יולדת אלא בן אחר.