This week’s parashat, which deals with the well known story of Noah, begins by saying:
“This is the line of Noah. Noah was a righteous man; he was blameless in his age; Noah walked with God. “ (Bereshit 6:9)
What does it mean that Noah was righteous “in his generation”? Why does the text include these words? You can understand the text without it. What does the text want to express?
There is a Midrash that deals with this question:
“What is the meaning of IN HIS GENERATION? Some interpret the phrase to his praise, and some interpret it to his shame, i.e., IN HIS GENERATIONS but not in other generations.
A parable: To what is the matter comparable? If one should put a silver coin among [a hundred] coins of copper, the one of silver would seem beautiful. Thus, did Noah seem righteous in the generation of the flood.
Then, how do some interpret it to his praise? The situation is like a jar of balsam which was put in a tomb where its aroma was good. If it had been in a house, how much better would its aroma have been!” (Midrash Tanhuma Buber Parashat Noach 5).