But you have to love the irony: God sees all the wickedness in the world, to the point that He decides to destroy it all (even the animals!

), but notices this one perfect individual. Noah. Saves him and his family (and
some of the animals!

). Then what's the
first thing this "perfect" man does when the flood is done? Gets drunk and lounges naked in his tent. Then he curses the son who has the bad luck of finding him in that state. And here we go again! I can imagine God smacking His forehead about then.
Well, at least He made a covenant with mankind. No more destroying the world! (By
flood! 
)