Yahweh sends the flood because he realizes that human beings have become too dirty and degraded for him to respect them any longer.