 God is angered, orders executions and sends a plague, but "the main guilt is Midian's and on Midian fell the vengeance" (Numbers 25 and 31).God orders Moses to "Harass the Midianites, and smite them", and to again count "all that are able to go forth to war in Israel" (Numbers 25-26).The Isralites war against Midian, and "slew every male".