Bereshit / Genesis 30:22 · Drash
וַיִּזְכֹּר אֱלֹהִים אֶת־רָחֵל וַיִּשְׁמַע אֵלֶיהָ אֱלֹהִים וַיִּפְתַּח אֶת־רַחְמָהּ׃
And the Almighty remembered Rachel, and the Almighty listened to her and opened her womb.
Drash דְּרָשׁ
Three keys
There are things God entrusts to no one. The midrash explains why Rachel was remembered, and names three keys that remain with God Himself. And the Tanchuma tells why Leah had "tender eyes".
Bereshit Rabbah asks: what did God remember of Rachel? Her silence for her sister's sake: when Leah was given to Yaakov (Jacob), she knew and kept silent. And more: she brought a rival into her own house. Rabbi Tanchuma in the name of Rabbi Bivi teaches: the Holy One, blessed is He, has three keys: the key of the grave, the key of the rains and the key of the womb. Midrash Tanchuma (Buber) tells: when Rivka (Rebecca) bore twins, Lavan had two daughters, and people said: the elder for the elder, the younger for the younger. Leah heard of Esav's (Esau's) deeds and wept, so her eyes became "tender". And Rachel, while she had no son, feared Esav would take her. When Yosef (Joseph) was born, she said: "The Almighty has taken away my disgrace."
How Bereshit Rabbah and Midrash Tanchuma (Buber) explain it
Bereshit Rabbah "And the Almighty remembered Rachel."
What did He remember for her? Her silence for her sister. When they were giving him Leah, she knew and kept silent. "And the Almighty remembered Rachel", and justice demands it, for she brought her rival into her house.
Rabbi Huna and Rabbi Acha in the name of Rabbi Simon said: Dan, Yosef and Binyamin. By the merit of Dan, Rachel was remembered, by the merit of Dan, Yosef and Binyamin arose.
"And He opened her womb". Rabbi Tanchuma in the name of Rabbi Bivi said: three keys are in the hand of the Holy One, blessed is He: the key of the grave, the key of the rains and the key of the womb. The key of the grave, from where? It says: "here, I am opening your graves, and I will bring you up out of your graves, My people" (Yechezkel / Ezekiel 37:12). The key of the rains, from where? "The Eternal will open for you His good treasury", and so on, "to give rain", and so on (Devarim / Deuteronomy 28:12). The key of the womb, from where? It says: "and He opened her womb". And some say: also the key of sustenance, as it says: "You open Your hand", and so on (Tehillim / Psalms 145:16).
Midrash Tanchuma (Buber) Another explanation: "the Almighty has taken away"
When Rivka bore Yaakov and Esav, two daughters were born to Lavan, and they sent letters to one another, saying: you have had two daughters and I two sons, let us give these to those. And Leah would hear of the deeds of Esav and weep, and Rachel would hear of the deeds of Yaakov and rejoice. How do we know Leah wept? It says: "and Leah's eyes were tender" (Bereshit / Genesis 29:17).
Rabbi Yose's interpreter translated: what is "tender"? Lovely, round. Rabbi Yochanan said to him: you have not translated well. What is "tender" (רַכּוֹת)? Long (אֲרֻכּוֹת): everything the Holy One, blessed is He, gave her was long: the high priesthood, and kingship, and the anointing oil.
And when Leah bore to Yaakov, Rachel grieved, saying: perhaps Esav will take me, since I have not borne a son. And when she bore Yosef, she said: "The Almighty has taken away my disgrace" (Bereshit / Genesis 30:23), and disgrace is nothing but the foreskin, as it says: "for that is a disgrace to us" (Bereshit / Genesis 34:14). "And she called his name Yosef, saying: 'May the Eternal add to me another son'": she foresaw by the holy spirit that she would bear only one more son.
Takeaway
By the merit of Dan: Rachel gave Yaakov her maid Bilhah, and she bore Dan. By the midrash, because Rachel brought a rival into her house, she was given sons of her own.
The keys: the sages say that God hands these keys to no messenger (Ta'anit 2a). Life, rain, birth and the reviving of the dead remain in His hand.
Leah's "long" gifts: from her sons came the high priests (Levi) and the kings (Yehudah), and their rule lasted for generations.