9:13

אֶת־קַשְׁתִּי נָתַתִּי בֶּעָנָן וְהָיְתָה לְאוֹת בְּרִית בֵּינִי וּבֵין הָאָרֶץ׃

My bow I have set in the cloud, and it shall be a sign of the covenant between Me and the earth.

Bereshit 9:13

אֶת־קַשְׁתִּי נָתַתִּי בֶּעָנָן

Bereshit / Genesis 9:13

אֶת־קַשְׁתִּי נָתַתִּי בֶּעָנָן וְהָיְתָה לְאוֹת בְּרִית בֵּינִי וּבֵין הָאָרֶץ׃

My bow I have set in the cloud, and it shall be a sign of the covenant between Me and the earth.

Pshat פְּשָׁט

The rainbow everyone sees

Sforno: "I have set in the cloud" means I arranged it to be in nature. The sign is the double rainbow: the scholars never found why the colours of the second bow run in reverse order. It is a sign to the righteous of the generation that the generation is guilty, as they said "was a rainbow seen in your days?", and then they pray, rebuke and teach the people. Radak: "My bow" with the pronoun, because it is his sign for the offspring of the earth, or because in Ezekiel "like the appearance of the bow" is seen around the glory. The rainbow, the scholars say, comes from a ray of sun against the cloud after rain. After the flood God strengthened the sunlight so the bow is always seen, so Ibn Ezra writes in the name of the Gaon. "I have set" means "I will set". Or, after Rabbi Saadia, literally: the bow in nature will be your sign, for after every rain it is seen, and in the days of the flood it was not, because the rain did not stop for forty days. The midrash: "set" from the six days of creation. The Torah names the bow three times to fix the sign in their hearts.

How Sforno and Radak explain it

Remez רֶמֶז

Generations without a rainbow

Ibn Ezra: "see, I have now set a bow in the cloud", and not as the Gaon said, that it was there before. Netziv: "My bow" is this one you see now. "I have set in the cloud" means I fix in nature that it be so when there is a cloud while the sun shines. "And it shall be a sign of the covenant" is the general statement, and then the Torah explains how the covenant will be. Rashi on the verse before: "for everlasting generations" is written short, for there are generations that needed no sign, because they were wholly righteous: the generation of Chizkiyahu king of Yehuda and the generation of Rabbi Shimon bar Yochai.

How Ibn Ezra, Haamek Davar, and Rashi explain it

Drash דְּרָשׁ

If a rainbow was seen in his days

Bereshit Rabbah: "for generations" is written short, excluding two generations: Chizkiyahu and the Men of the Great Assembly. Rabbi Chizkiya replaces the Men of the Great Assembly with the generation of Rabbi Shimon bar Yochai. Eliyahu and Rabbi Yehoshua ben Levi were studying together and reached a tradition from Rabbi Shimon bar Yochai. Eliyahu went in to him. "Who is with you?" "The great one of the generation, Rabbi Yehoshua ben Levi." "Was a rainbow seen in his days?" "Yes." "If a rainbow was seen in his days, he is not worthy to see my face." Three sayings of Rabbi Shimon in the name of Rabbi Yirmiya: "valley, valley, fill with gold dinars", and it filled. "If Avraham wants, let him plead from himself to me, and I from myself to the King Mashiach". "The world cannot stand on fewer than thirty righteous like Avraham, and if one, it is I". Pirkei deRabbi Eliezer: ten things were created on the eve of Shabbat at twilight: the mouth of the earth, the mouth of the well, the mouth of the donkey, the rainbow, the manna, the staff, the shamir, the writing, the inscription and the tablets.

How Bereshit Rabbah and Pirkei DeRabbi Eliezer explain it

Sod סוֹד

The bow of Yosef and the measure of judgment

Rabbi Shimon in the Zohar: "I have set" means from before. Above the four living creatures is a firmament "like the appearance of a sapphire stone". The firmament is square, four colours are in it, engraved four by four, and when they part they rise to twelve: green, red, white and sapphire, which includes all. This is "like the appearance of the bow in the cloud on a day of rain" around the glory of the Eternal, and therefore "My bow I have set in the cloud". "My bow" is as of Yosef: "and his bow abode in strength". Yosef is called righteous, and his bow is the covenant of the rainbow, included in the righteous one. Noach is righteous, and his covenant is the rainbow. Ramban: the rainbow is reversed, feet down, like the bow of warriors when they call for peace, and without a string. The Greeks are right: the rainbow is born of the sun in moist air, and "My bow... I have set" means it was there before. A sign is like the mound and the pillar of Yaakov and Lavan: a visible thing that recalls an agreement. But the sages have a secret: "between the Almighty" is the measure of judgment above, "between every living soul" the measure of judgment below, harsh and weak. "My bow", the measure of judgment set in the cloud at the hour of judgment, shall be a sign of the covenant: the Eternal will remember mercy and pity the infants on the earth. This sign and covenant are the sign of circumcision and the covenant in it.

How Zohar and Ramban explain it