Commentators explain that the corruption was total. It wasn't just isolated acts of evil, but a complete perversion of humanity's "way." This included religious corruption, like idolatry, and moral corruption, such as extreme violence and sexual immorality. As one scholar notes, humanity had made even material things instruments of sin, tainting the entire earth.