(יד) וַיֹּ֣אמֶר אֱלֹהִ֗ים יְהִ֤י מְאֹרֹת֙ בִּרְקִ֣יעַ הַשָּׁמַ֔יִם לְהַבְדִּ֕יל בֵּ֥ין הַיּ֖וֹם וּבֵ֣ין הַלָּ֑יְלָה וְהָי֤וּ לְאֹתֹת֙ וּלְמ֣וֹעֲדִ֔ים וּלְיָמִ֖ים וְשָׁנִֽים׃ (טו) וְהָי֤וּ לִמְאוֹרֹת֙ בִּרְקִ֣יעַ הַשָּׁמַ֔יִם לְהָאִ֖יר עַל־הָאָ֑רֶץ וַֽיְהִי־כֵֽן׃ (טז) וַיַּ֣עַשׂ אֱלֹהִ֔ים אֶת־שְׁנֵ֥י הַמְּאֹרֹ֖ת הַגְּדֹלִ֑ים אֶת־הַמָּא֤וֹר הַגָּדֹל֙ לְמֶמְשֶׁ֣לֶת הַיּ֔וֹם וְאֶת־הַמָּא֤וֹר הַקָּטֹן֙ לְמֶמְשֶׁ֣לֶת הַלַּ֔יְלָה וְאֵ֖ת הַכּוֹכָבִֽים׃ (יז) וַיִּתֵּ֥ן אֹתָ֛ם אֱלֹהִ֖ים בִּרְקִ֣יעַ הַשָּׁמָ֑יִם לְהָאִ֖יר עַל־הָאָֽרֶץ׃ (יח) וְלִמְשֹׁל֙ בַּיּ֣וֹם וּבַלַּ֔יְלָה וּֽלֲהַבְדִּ֔יל בֵּ֥ין הָא֖וֹר וּבֵ֣ין הַחֹ֑שֶׁךְ וַיַּ֥רְא אֱלֹהִ֖ים כִּי־טֽוֹב׃ (יט) וַֽיְהִי־עֶ֥רֶב וַֽיְהִי־בֹ֖קֶר י֥וֹם רְבִיעִֽי׃ (פ)
(14) God said, “Let there be lights in the expanse of the sky to separate day from night; they shall serve as signs for the set times—the days and the years; (15) and they serve as lights in the expanse of the sky to shine upon the earth.” And it was so. (16) God made the two great lights, the greater light to dominate the day and the lesser light to dominate the night, and the stars. (17) And God set them in the expanse of the sky to shine upon the earth, (18) to dominate the day and the night, and to separate light from darkness. And God saw that this was good. (19) And there was evening and there was morning, a fourth day.
רבי שמעון בן פזי רמי כתיב (בראשית א, טז) ויעש אלהים את שני המאורות הגדולים וכתיב את המאור הגדול ואת המאור הקטן אמרה ירח לפני הקב"ה רבש"ע אפשר לשני מלכים שישתמשו בכתר אחד אמר לה לכי ומעטי את עצמך אמרה לפניו רבש"ע הואיל ואמרתי לפניך דבר הגון אמעיט את עצמי אמר לה לכי ומשול ביום ובלילה אמרה ליה מאי רבותיה דשרגא בטיהרא מאי אהני אמר לה זיל לימנו בך ישראל ימים ושנים אמרה ליה יומא נמי אי אפשר דלא מנו ביה תקופותא דכתיב (בראשית א, יד) והיו לאותות ולמועדים ולימים ושנים זיל ליקרו צדיקי בשמיך (עמוס ז, ב) יעקב הקטן שמואל הקטן (שמואל א יז, יד) דוד הקטן חזייה דלא קא מיתבא דעתה אמר הקב"ה הביאו כפרה עלי שמיעטתי את הירח והיינו דאמר ר"ש בן לקיש מה נשתנה שעיר של ראש חדש שנאמר בו (במדבר כח, יא) לה' אמר הקב"ה שעיר זה יהא כפרה על שמיעטתי את הירח
“Rabbi Shimon ben Pazzi notes a contradiction: ‘And God made the two great lights; as it reads ‘The large light, and the small light.’ The moon said to the Holy One, Blessed Be He, ‘Master of the Universe, How can two kings share one crown?’ He said to her, ‘Go and diminish yourself!’ She said to him: ‘Master of the universe, because I said a logical thing before you, I should diminish myself?’ He said to her, ‘Go and you will rule by day and by night’. She said to him, ‘What is the greatness in that, How does a lamp help in the daytime?’ He said to her: ‘Go! Israel will count through you the days and the years.’ She said to him, ‘Day is the primary unit of time, and I can’t be used to count for days, as it says “And let them be for signs of the seasons and days and years”.’ He said, “Go! And great people will be called by your name: ... Yaakov the Small, Shmuel the Small, David the Small." God saw that the moon was still not happy at the time. The Holy One said, “Bring an atonement on Me for I have diminished the moon.” And so that is what is meant when Rabbi Shimon ben Lakish said, “What is the difference in how the New Moon offering is written, “A he-goat on the new moon, FOR THE LORD?’ Because the Holy One is saying, ‘Let this he-goat be an atonement FOR ME, for the diminishment of the moon.”