And God said unto Noah, The end of all flesh is come before me; for the earth is filled with violence through them; and, behold, I will destroy them with the earth.
God told Noah that all living things were bad and made the Earth violent. So, God planned to punish them along with the Earth.