This is the line of Noah.—Noah was a righteous man; he was blameless in his age; Noah walked with God.—Noah begot three sons: Shem, Ham, and Japheth.
The earth became corrupt before God; the earth was filled with lawlessness. When God saw how corrupt the earth was, for all flesh had corrupted its ways on earth, God said to Noah, “I have decided to put an end to all flesh, for the earth is filled with lawlessness because of them: I am about to destroy them with the earth.—Genesis 6:11-13 (NJPS)
For My part, I am about to bring the Flood—waters upon the earth—to destroy all flesh under the sky in which there is breath of life; everything on earth shall perish. But I will establish My covenant with you, and you shall enter the ark, with your sons, your wife, and your sons’ wives.—Genesis 6:17-18 (NJPS)
In this passage, it says "Noah was a righteous man; he was blameless in his age; Noah walked with God." The phrase "blameless in his age" sounds as if we put him next to his contemporaries, he'd be the most ethic man in the bunch. But if you put in a group with righteous men of other ages, would Noah similarly stand out or was he merely good compared to the lawless men of his time?