Genesis 6 thru 9.
Jack Miles, in his Pulitzer-winning book, God: A Biography, observes (or infers) a lot about God's character in the Flood account. He notes that the story that precedes the Flood account is that of Cain slaying Abel, where in Gen 4:10,11, God says that his brother's blood cries out from the ground, and that Cain is now under a curse. He also notes that following the Flood account, in Gen 9:6, God states that he will hold Noah and his descendants accountable for the destruction of human life and for the shedding of human blood. Thus, God's wholesale destruction of human life is bookended by His prohibition of human bloodshed.
Miles concludes that, "a human being engaged in either destruction or creation becomes his rival". p.45. "Destruction is forbidden because God is a destroyer as well as a creator".
Miles also observes that following the flood, "the Lord has to be seduced out of a recurrence of his rage by the scent of Noah's offering."
In short, this scholar of our times (a former Jesuit scholar, with a PhD in Near-Eastern Languages from Harvard University) doesn't think that God comes out of these chapters looking too good. What do you think? If you were determining God's biography (and portions of Revelation suggest that we will be), what thesis would you present? Would you really be interested in being part of His administration for eternity? (Rev 22:5).
These are important questions that are worthy of more than cursory thought.