כתוב אחד אומר בראשית ברא אלהים את השמים ואת הארץ, וכתוב אחד אומר ביום עשות ה' אלהים ארץ ושמים (בראשית ב ד), בית שמאי אומרים שמים נבראו תחילה, בראשית ברא אלהים את השמים ואת הארץ, ובית הלל אומרים ארץ נבראת תחילה, שנאמר ביום עשות ה' אלהים ארץ ושמים. אמר ר' יהודה בר' אילעי, המקרא עוזר לבית הלל, שנאמר לפנים הארץ יסדת (תהלים קב כז), ור' חנינא אמר ממקומך אתה למד, שנאמר בראשית ברא אלהים וגו', ומה כתיב אחריו והארץ היתה תהו וגו'. אמר ר' שמעון בן יוחי תמיה אני איך נחלקו אבות העולם בבריאת שמים וארץ, והיך נבראו כאלפס וככיסוייה, כך ברא הקב"ה השמים והארץ, שנאמר אף ידי יסדה ארץ [וימיני טפחה שמים] (ישעיה מח יג). למה הקדים הקב"ה שמים לארץ, וארץ לשמים, ללמדך ששניהם שקולין כאחת. ר' תנחומא בר אבא אמר בבריאה שמים קדמו לארץ, אבל בעשייה ארץ קדמה לשמים. One text says (in Gen. 1:1): IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH, but another says (in Gen. 2:4): ON THE DAY THAT THE LORD GOD MADE EARTH AND HEAVEN.50Hag. 12a; yHag. 2:1 (77c-d); Gen. R. 1:15; Lev. R. 36:1; PRE 18 (19); M. Sam. 5;cf. Tamid 32a. The Bet Shammay say: Heaven was created first (according to Gen. 1:1): IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH. But the Bet Hillel say: Earth was created first, as stated (in Gen. 2:4): ON THE DAY THAT THE LORD GOD MADE EARTH AND HEAVEN. R. Judah b. R. Il'ay said: The Scripture supports the Bet Hillel, since it is stated (in Ps. 102:26): BEFOREHAND YOU ESTABLISHED THE EARTH. Moreover, R. Hanina said: You have learned it from your place (in Gen. 1:1), where it is stated: IN THE BEGINNING GOD CREATED…. And what is written next (in vs. 2)? AND THE EARTH WAS VOID…. R. Simeon ben Johay said: I am amazed at how the ancestors of the world (i.e., the scholars) were divided on the creation of heaven and earth. So how were they created? Just as a pot51Gk.: lopas. and its cover did the Holy One create the heavens and the earth. Thus it is stated (in Is. 48:13): MOREOVER, MY HAND HAS FOUNDED EARTH [AND MY RIGHT HAND HAS SPREAD OUT HEAVEN]. Why did the Holy One put heaven before earth (in Gen. 1:1) and earth before heaven (in Gen. 2:4)? In order to teach you that both of them are considered together. R. Tanhuma bar Abba said: In the creation (of Gen. 1:1) heaven preceded earth, but in the making (of Gen. 2:4) earth preceded heaven.