Warning of the Flood Preparation for the Flood Gn 6
The main idea in Gn 6 is God telling Noah how to build the ark and what materials need to be put. The first thing that happens is God realizing how large the wickedness of human beings was on earth, and then coming to the conclusion of wiping out all the humans, animals, crawling things, and birds of the air. Next is the introduction to Noah and how he was favored by God. Finally, the last part of the chapter is where God tells Noah what He is going to do, how Noah will build the ark and what to put in it, ultimately preparing him for the flood. Noah complies to this, doing what God had told him to do.
"When the Lord saw how great the wickedness of human beings was on earth, and how every desire that their heart conceived was always nothing but evil, the Lord regretted making human beings on the earth, and his heart was grieved" (Gn 6:5,6).
"But Noah found favor with the Lord...Noah was a righteous man and blameless in his generation; Noah walked with God" (Gn 6:8,9).
"God said to Noah: I see that the end of all mortals has come, for the earth is full of lawlessness because of them. So I am going to destroy them with the earth. Make yourself an ark of gopherwood, equip the ark with various compartments, and cover it inside and out with pitch. This is how you shall build it: the length of the ark will be..." (Gn 6:13-15).
Being selfless and faithful to God will bring upon goo things to you and other humans