We can learn that the failings of the world and those around us need not have a negetaive influence on our own decisions. In a lot of ways I believe Noah was another foreshadowing to the life of Christ. Jesus would live among people who did not recognize or desire Him, and yet live in a manner worthy of His Father’s will (and His true nature). Sin around us does not necessitate sin in us.
If we have the mind and Spirit of Christ, we too are able to live a righteous life, not only among peoples, but Satan himself. What a testimony to the power and love of God to not only save us from complete death, but also from living as the world desires, even as we too once desired.