Then the LORD said, "My Spirit will not contend with man forever, for he is mortal; his days will be a hundred and twenty years." Genesis 6:3
"From this passage we learn that the Lord by his Spirit strives with man up to a certain point.
There is a certain point beyond which he will not go, for sufficient reasons known fully to himself, partly to us. Two of these we are to notice for our instruction: First, he will not touch the free agency of his rational creatures. He can put no force on the volitions of men. An involuntary or compulsory faith, hope, love, obedience, is a contradiction in terms; and anything that could bear the name can have no moral validity whatsoever. Secondly, after giving ample warning, instruction, and invitation, he will, as a just judgment on the unbelieving and the impenitent, withdraw his Spirit and let them alone. The antediluvian world was fast approaching to this point of final perversity and abandonment."http://bible.cc/genesis/6-3.htmSome commentaries say the '120 years' means God warned the people through Noah for that amount of time.
"The LORD saw how great man's wickedness on the earth had become, and that every inclination of the thoughts of his heart was only evil all the time." Genesis 6:5
The state of the people of the flood was a horrible one. Without God to make us good, we become completely evil. God was so kind to warn them of their fate, but like Cain before them, they did not listen. It is sad to realize there were only a few people on earth who had God in their hearts.