Numbers 31:2

31:2 “Exact vengeance for the Israelites on the Midianites – after that you will be gathered to your people.”

Numbers 31:9-16

31:9 The Israelites took the women of Midian captives along with their little ones, and took all their herds, all their flocks, and all their goods as plunder. 31:10 They burned all their towns where they lived and all their encampments. 31:11 They took all the plunder and all the spoils, both people and animals. 31:12 They brought the captives and the spoils and the plunder to Moses, to Eleazar the priest, and to the Israelite community, to the camp on the plains of Moab, along the Jordan River across from Jericho. 31:13 Moses, Eleazar the priest, and all the leaders of the community went out to meet them outside the camp.

The Death of the Midianite Women

31:14 But Moses was furious with the officers of the army, the commanders over thousands and commanders over hundreds, who had come from service in the war. 31:15 Moses said to them, “Have you allowed all the women to live? 31:16 Look, these people through the counsel of Balaam caused the Israelites to act treacherously against the Lord in the matter of Peor – which resulted in the plague among the community of the Lord!