8 But Noah found grace in the eyes of the Lord. 9 These are the generations of Noah: Noah was a just man and perfect in his generations, and Noah walked with God. 17 And, behold, I, even I, do bring a flood of waters upon the earth, to destroy all flesh, wherein is the breath of life, from under heaven; and every thing that is in the earth shall die. 18 But with thee will I establish my covenant; and thou shalt come into the ark, thou, and thy sons, and thy wife, and thy sons’ wives with thee.
There was mass evil in the world, so universal and so extreme that God was set on washing the slate clean. But in all this crowd of corruption, God did not lose sight of one who was innocent.
The story of Noah is a very encouraging example of how God is perfectly aware of the individual, and the great lengths to which He will go to save that one. As humans we often struggle to be so individually conscious. We have limits of time and space, which is why our laws are usually applied universally, targeted towards the average, but ill-fitting to all manner of individual edge cases. God, though, can raise a flood over the entire world and still hold a single boat safe in the palm of His hand.