A window shall you make for the ark (Gen. 6:16)
The Hebrew word for “ark” is “tayva,” which also has the meaning of “word.” A Jew’s job is to make a “window,” as it were, for the words he utters in prayer or in the study of Torah, and to let them illuminate, as the sun shines at midday. (Baal Shem Tov)
I will bring a flood of waters upon the earth, to destroy all flesh (6:17)
Why did G-d choose a flood with which to punish mankind? Could he not have chosen another method to destroy the wicked?
Another purpose of the flood, however, was to purify the world which had become unclean and defiled by its inhabitants. This is alluded to in the duration of the flood, forty days, and the requirement that a purifying mikva contain at least forty sa’a [a measure] of water. (Rabbi Shneur Zalman)
And only Noach was left (7:23)
Despite the fact that Noach was a righteous person, he was still required to tend to all the animals in the ark and take care of their needs. This was a physically demanding and sometimes dangerous job. Similarly, no matter how high a spiritual level one reaches, he is still obligated to take care of those around him who may need his guidance. (Likutei Sichot)
