Leah was hated — or unloved, depending on the translation, but the Hebrew is harsh — and God saw it (Genesis 29:31). This is where Aggadat Bereshit begins: with the divine attention settling on the most rejected figure in the room. The psalm that frames it is equally clear: "The Lord upholds all who fall and raises up all who are bowed down" (Psalm 145:14).
The midrash draws a contrast with how wealthy humans operate. A powerful person loves someone when they are prosperous and abandons them when they lower their hand to the poor. The powerful are attracted to the elevated and repelled by the diminished. God works in reverse: when He sees someone bowing down, lowering their hand, He extends His hand and lifts them up. Leah's unloved state was the precise condition that attracted divine attention.
The rabbis were making a point about how God distributes blessing. Rachel was the beloved wife — and she was barren for years. Leah was the unloved one — and she bore six sons. The apparent unfairness resolves, for the rabbis, into a divine compensation: God balances what humans leave unbalanced. He sees what humans fail to see. He honors what humans dishonor. And from Leah's dishonored womb came Judah, from whom came David, from whom came the messianic line — the most consequential womb in the story of Israel, belonging to the wife nobody wanted.
Chapter (47) 48: Writings [1]"A song of ascents. I lift up my eyes to the mountains - where does my help come from? My help comes from the Lord, the Maker of heaven and earth" (Psalm 121:1-2). This is similar to "And your eyes shall see" (Malachi 1:5). What do you gain from seeing the downfall of Edom? Look to what is written above it: "For Esau says, 'We have been ravaged, but we will rebuild the ruins.'" (Malachi 1:5). The downfall of Edom is not what I am seeking from you, but rather praise and glory, as it is written: "And you will say, 'Great is the Lord!'" (Malachi 1:5). The prince of Edom is difficult, and so Zechariah says: "Then I looked up - and there before me were four chariots coming out from between two mountains - mountains of bronze!" (Zechariah 6:1). The people of Israel said, "Where will my help come from? From which kingdom will we be saved, and which kingdom will restore your kingdom?" And it is written, "In the last days the mountain of the Lord's temple will be established" (Isaiah 2:2). Similarly, Daniel says: "I heard, but I did not understand. So I asked, 'My lord, what will the outcome of all this be?'" (Daniel 12:8). And the Lord said to him, "The prophet has already preceded you and said, 'In the last days, it shall come to pass'" (Isaiah 2:2). And the nations will go (Isaiah 2:3). At that time, my help comes from the Lord, the Maker of heaven and earth. (Psalm 121:2)