And God saw that the wickedness of man was great in the earth, and that every imagination of the thoughts of his heart was only evil continually. And it repented the LORD that he had made man on the earth, and it grieved him at his heart.
– Genesis 6:5-6
God created man in order to allow man to manifest and glorify Him on earth. He hopes this mankind can live in accordance with His requirements. But after being corrupted by Satan, this mankind became more and more evil, more and more corrupt, so that their wickedness has reached the eyes of God. God’s substance is holy. Seeing the people He created personally have become like this, He felt sorrow. From this verse, we can see God’s love and concern to man, and that He is not willing to see that people continue to degenerate.
Read the story of Noah: Noah And the Ark