וַיַּ֣עַשׂ אֱלֹהִ֔ים אֶת־שְׁנֵ֥י הַמְּאֹרֹ֖ת הַגְּדֹלִ֑ים אֶת־הַמָּא֤וֹר הַגָּדֹל֙ לְמֶמְשֶׁ֣לֶת הַיּ֔וֹם וְאֶת־הַמָּא֤וֹר הַקָּטֹן֙ לְמֶמְשֶׁ֣לֶת הַלַּ֔יְלָה וְאֵ֖ת הַכּוֹכָבִֽים׃
Allah menjadikan kedua benda penerang yang besar itu: penerang yang lebih besar untuk menguasai siang, dan penerang yang lebih kecil untuk menguasai malam, serta bintang-bintang.
Rabbeinu Bahya
Another part of that same Midrash understands the opening words of the verse as meaning that in this world the Jewish people would count according to the moon, i.e. that the moon is given to the Jewish people as a gift in order that they can count their months by means of it. The moon is considered as superior to the sun as it is visible by day and by night, suggesting that the Jewish people have an existence both in this world and in the world to come. The descendants of Esau, however, count in this world by means of the orbits of the sun which has been described in the Torah (Genesis 1,16) as “the great luminary.” In the future, however, this great luminary will be made subservient to those who will be called “small,” by G’d, (compare Jeremiah 49,15) “For I will make you smallest among nations, etc.” [The prophet addresses Edom, the spiritual descendant of Esau]. At that time the (previously) small luminary, i.e. the Jewish people, will become big, the nation whom G’d calls big as we read in Deuteronomy 4,8 “and which is a great nation such as this, etc.” The descendants of those who count according to the sun’s orbits will eventually be judged by means of the sun, i.e. they will be burned by the fiery heat of the sun as we know from Malachi 3,19.
The entire matter can be understood by means of a parable. A king got engaged to a lady and wrote her a marriage settlement in which he gave her a few relatively minor gifts. Once the marriage was consummated, he wrote her a contract bequeathing to her very large gifts. The relationship between G’d and the Jewish people is somewhat similar. In this world G’d got “engaged” to the Jewish people as we know from Hoseah 2,21: “I will espouse you forever.” At that stage of our relationship with G’d He gave us only the moon, as we read in our verse “this moon is for you.” However, in the days of the messiah there will occur the consummation of our relationship with G’d. We know this from Isaiah 54,5 “for He who is your mate is the One Who has made you. The Lord G’d of Hosts is His name.” When that time arrives G’d will hand over to Israel all that is spelled out in the second marital agreement. According to Shemot Rabbah end of chapter 15, this is the meaning of Daniel 12,3 “and the knowledgeable will be radiant like the brightness of the expanse of the sky.”
We find an interesting halachah in Tractate Sofrim 19,10 as well as in the Jerusalem Talmud (Berachot 9,2) that one does not recite the benediction over the new moon except on the night following the Sabbath when one is still in a state of “fragrance,” i.e. surrounded by the joyful aura of the Sabbath and wearing Sabbath garments. When reciting this benediction one is to stand at attention facing the moon and to jump up and down three times reciting the formula: “blessed be your Creator, blessed be the One Who sanctifies you. Just as I jump in your direction without being able to touch you (with harmful intent) so those who wish to harm me may jump without achieving their aim. May fear and trepidation overcome all those; since Your arm is mighty may they be struck dumb as stone” (Exodus 15,15).
The entire matter can be understood by means of a parable. A king got engaged to a lady and wrote her a marriage settlement in which he gave her a few relatively minor gifts. Once the marriage was consummated, he wrote her a contract bequeathing to her very large gifts. The relationship between G’d and the Jewish people is somewhat similar. In this world G’d got “engaged” to the Jewish people as we know from Hoseah 2,21: “I will espouse you forever.” At that stage of our relationship with G’d He gave us only the moon, as we read in our verse “this moon is for you.” However, in the days of the messiah there will occur the consummation of our relationship with G’d. We know this from Isaiah 54,5 “for He who is your mate is the One Who has made you. The Lord G’d of Hosts is His name.” When that time arrives G’d will hand over to Israel all that is spelled out in the second marital agreement. According to Shemot Rabbah end of chapter 15, this is the meaning of Daniel 12,3 “and the knowledgeable will be radiant like the brightness of the expanse of the sky.”
We find an interesting halachah in Tractate Sofrim 19,10 as well as in the Jerusalem Talmud (Berachot 9,2) that one does not recite the benediction over the new moon except on the night following the Sabbath when one is still in a state of “fragrance,” i.e. surrounded by the joyful aura of the Sabbath and wearing Sabbath garments. When reciting this benediction one is to stand at attention facing the moon and to jump up and down three times reciting the formula: “blessed be your Creator, blessed be the One Who sanctifies you. Just as I jump in your direction without being able to touch you (with harmful intent) so those who wish to harm me may jump without achieving their aim. May fear and trepidation overcome all those; since Your arm is mighty may they be struck dumb as stone” (Exodus 15,15).
Or HaChaim
The eighteenth reason for the word תלכו is related to Sukkah 45 where the elite (people experiencing some revelation of the שכינה) of the Jewish people are divided into three levels. The lowest level is the group granted what is termed a "blurred vision." The next higher level of the elite are the people who are granted a "clear vision." The highest level of the elite are those who enjoy such communications without first having to obtain special permission from G'd. I have explained Job 3,19 קטון וגדול שם הוא ועבד חפשי מאדוניו, "both the small and the great are there and the slave is free of his masters" in a similar sense. The "small" refers to the person granted a blurred vision, the "great" to the the person granted a clear vision, and the slave who is free of his masters refers to the person who does not need to ask permisssion in order to receive a communication from G'd. The word קטון is an allusion to the "small luminary," the moon in Genesis 1,16, whereas the word גדול is borrowed from the same verse where it refers to the sun. I would not be sure what are the criteria by means of which a human being achieves the great honour described in that verse. This is why the Torah here defined the rules by saying אם בחקתי תלכו, to tell us that Torah study, performance of its precepts, and the manner in which we do so is the key to achieving this level of communication with G'd.
Ezra ben Solomon
[Ps. 104:22–3]: “When the sun rises [the lions] come home and couch in their dens. Man then goes out to his work, to his labor until the evening” corresponds to “God made the two great luminaries” [Gen. 1:16].