You wrote
"11Now the earth was (N)corrupt in the sight of God, and the earth was (O)filled with violence. "
Yes , i understand that all the children and babies were indeed corrupt.
Gavie your head a shake and explain how children and babies could be corrupt. Please don't tell us how they inherited their parents fate.
Any one who would kill children and babies because their parents have done wrong must be an unjust God indeed.
There is no justification for genocide. IfGod used it then He is corrupt Himself.
Regards
DL