Since the fall of mankind was ushered in by Adam and Eve, humanity has been a disappointment. It didn't take long for sin to secure a vice grip on the hearts of humans. People naturally began to commit acts that were against God's desire for mankind. One act that captures the brokenness of the human condition was Cain killing his own brother Abel, because God blessed Abel's offering over his. This was the first, but not the last act of self-satisfying sin. From the birth of Seth and throughout his lineage, sin continued to propagate through the hearts and deeds of men and women for 7,625 years (Gen 5). As a result, we became so repugnant to God that he regretted creating us.
the Lord regretted that He made man on the earth, and He was grieved in His heart
No matter how we try to dissect this scripture, it's not a good look either way for the Creator of all to make such a statement. That was judgment; the death sentence came shortly after when God decided to destroy all living creatures (humans and animals), wiping the slate clean. Indeed, He removed all humanity from the earth, except for Noah. He was the only one that walked with God and because of that found favor with Him (Gen 6: 8-9). God trusted Noah to follow His instructions to the letter, giving him instructions to build an ark that would salvage him, his family and specific animals. Then came the rain, leaving only Noah and his family the only survivors of the world's only "scorched earth" initiative.
In the six hundredth year of Noah’s life, in the second month, on the seventeenth day of the month, on that day all the sources of the watery depths burst open, the floodgates of the sky were opened, 12 and the rain fell on the earth 40 days and 40 nights. 13 On that same day Noah along with his sons Shem, Ham, and Japheth, Noah’s wife, and his three sons’ wives entered the ark with him. 14 They entered it with all the wildlife according to their kinds, all livestock according to their kinds, the creatures that crawl on the earth according to their kinds, all birds, every fowl, and everything with wings according to their kinds. 15 Two of all flesh that has the breath of life in it entered the ark with Noah. 16 Those that entered, male and female of all flesh, entered just as God had commanded him. Then the Lord shut him in.
17 The flood continued for 40 days on the earth; the waters increased and lifted up the ark so that it rose above the earth. 18 The waters surged and increased greatly on the earth, and the ark floated on the surface of the water. 19 Then the waters surged even higher on the earth, and all the high mountains under the whole sky were covered.
Eventually the waters would subside, and Noah and his family would be able to unseal the ark and rebuild their lives. After such a life altering event, Noah did the only thing he could do, which was worship Yahweh.
Noah's mark of perfection was his representation of new beginnings. Noah represents what is globally known as a second chance, a new beginning. Humanity made God sick to His stomach to the point where He would rather start from scratch than deal with the sins of the people. After the flood, God told Noah that everything would be placed under his authority.
Genesis 9:1-2, 7
God blessed Noah and his sons and said to them, “Be fruitful and multiply and fill the earth. 2 The fear and terror of you will be in every living creature on the earth, every bird of the sky, every creature that crawls on the ground, and all the fish of the sea. They are placed under your authority. 7 But you, be fruitful and multiply; spread out over the earth and multiply on it.”
Sounds familiar, right? Noah essentially became another Adam, positioning humanity with another opportunity to follow after God's design for mankind. To seal this second chance, God deals His first ever covenant with humanity, promising to never remove humans from this world...by water (Gen 9:11-17). The stage was set for the world to be reborn with God's new, yet original blueprints ready for execution. But humanity has free will, and with that comes the opportunity to make ill-advised decisions.
The major flaw that leads to said ill-advised decisions is lack of self control. With Noah at the forefront to guide mankind down the righteous path, he too failed. He had no self-control particularly when it came to his pallet.
20 Noah, a man of the soil, was the first to plant a vineyard. 21 He drank some of the wine, became drunk, and uncovered himself inside his tent. 22 Ham, the father of Canaan, saw his father naked and told his two brothers outside. 23 Then Shem and Japheth took a cloak and placed it over both their shoulders, and walking backward, they covered their father’s nakedness. Their faces were turned away, and they did not see their father naked.
Noah lacked the ability to control his liquor (in this instance), and things would only get worse from their. He then proceeds to curse his grandson, Canaan, for his father's actions. Ham was the first person to see Noah sleeping in his drunken state, but refused to honor his father by covering him. Noah had every right to punish his son, and it was severe (Gen 9:24-27), but it never would've gotten to this point if Noah hadn't let the wine control his decision-making process. Self control is a reflection of your time spent with God; the lack of this trait can be very costly, as history is ripe with examples of irrational decisions.