The people doing what is evil is spoken of as if they were food that has become rotten. Alternate translation: "was rotten" or "was completely evil" (See: [[rc://en/ta/man/jit/figs-metaphor]])
The writer speaks of violence as if it were something that could be put into a container and of the earth as a container. Alternate translation: "and there were very many violent people on the earth" or "because it was full of people who did evil things to each other" (See: [[rc://en/ta/man/jit/figs-metaphor]])