3:9

וַיִּקְרָא יְהוָה אֱלֹהִים אֶל־הָאָדָם וַיֹּאמֶר לוֹ אַיֶּכָּה׃

And the Eternal Almighty called to the human and said to him, "Where are you?"

Bereshit 3:9

וַיִּקְרָא יְהוָה אֱלֹהִים

Bereshit / Genesis 3:9 · Drash

Bereshit 3:9

וַיִּקְרָא יְהוָה אֱלֹהִים אֶל־הָאָדָם וַיֹּאמֶר לוֹ אַיֶּכָּה׃

And the Eternal Almighty called to the human and said to him, "Where are you?"

Drash דְּרָשׁ

Where are you and how

There are words that sound the same and mean different things. The midrash hears in the question "where are you" another word with the same letters: "how". And it lines up two fates, of the human and of the people, step by step.

The midrash reads the question as a reproach: how did this happen to you? Yesterday by My will, and now by the will of the serpent. Rabbi Abbahu in the name of Rabbi Chanina builds a chain from the prophet Hosea: the first human I brought into the garden, gave him a command, he broke it, I judged him with sending away and expulsion, and I lamented him with the word "how" (אֵיכָה). So too his sons I brought into the Land of Israel, gave them a command, they broke it, I judged them with sending away and expulsion, and I lamented them: "how does she sit alone". "Where are you" (אַיֶּכָּה) is written with the same letters as "how" (אֵיכָה).

How Bereshit Rabbah explain it

Bereshit Rabbah And the Eternal Almighty called to the human

How did this happen to you? Yesterday by My will, and now by the will of the serpent. Yesterday from one end of the world to the other, and now inside a tree of the garden.

Rabbi Abbahu said in the name of Rabbi Chanina: it is written "but they, like a human, broke the covenant" (Hoshea / Hosea 6:7). "They" are like the first human. As the first human I brought into the garden of Eden and gave him a command, and he broke My command, and I judged him with sending away and with expulsion, and I lamented him: "how" (אֵיכָה). I brought him into the garden of Eden, as it is said: "and He placed him in the garden of Eden". I gave him a command, as it is said: "and the Eternal Almighty commanded the human". He broke the command, as it is said: "have you eaten of the tree of which I commanded you not to eat?" I judged him with sending away, as it is said: "and the Eternal Almighty sent him away from the garden of Eden". I judged him with expulsion, as it is written: "and He drove out the human". I lamented him with "how", as it is said: "and the Eternal Almighty called to the human and said to him: where are you (אַיֶּכָּה)", written "how" (איכה).

So too his sons I brought into the Land of Israel, gave them a command, they broke the command, I judged them with sending away and with expulsion, and I lamented them: "how". I brought them into the Land of Israel, as it is said: "and I brought you into a land of orchards" (Yirmeyahu / Jeremiah 2:7). I gave them a command, as it is said: "and you shall command the children of Israel". They broke My command, as it is said: "and all Israel transgressed Your Torah" (Daniel 9:11). I judged them with sending away, as it is said: "send them away from My presence, and let them go out". I judged them with expulsion, as it is said: "out of My house I will drive them". I lamented them with "how", as it is said: "how does she sit alone" (Eichah / Lamentations 1:1).

Takeaway

"Where are you" (אַיֶּכָּה) and "how" (אֵיכָה) are written with the same letters: איכה. The difference is only in the vowel points, which the scroll does not have. The whole midrash rests on this: "written 'eichah'".
"How does she sit alone" (Eichah / Lamentations 1:1): the first words of the book of Lamentations (Eichah), read on the fast of the Ninth of Av over the destruction of the Temple. By the midrash the Almighty lamented the first human with the same word.
The verses about the human the midrash brings: "and He placed him in the garden of Eden" (Bereshit / Genesis 2:15), "and He commanded" (2:16), "have you eaten of the tree" (3:11), "and He sent him away" (3:23), "and He drove out the human" (3:24).
Three verses about the sons are cited in the midrash with inexact references, left out of the translation: "and you shall command the children of Israel" is Shemot / Exodus 27:20, "send them away from My presence, and let them go out" is Yirmeyahu / Jeremiah 15:1, "out of My house I will drive them" is Hoshea / Hosea 9:15.
"But they, like a human, broke the covenant" (Hoshea / Hosea 6:7): the word "human" (אָדָם) the midrash reads as the name of the first human, Adam.