Numbers 31:2-3
31:2 “Exact vengeance for the Israelites on the Midianites – after that you will be gathered to your people.”
31:3 So Moses spoke to the people: “Arm men from among you for the war, to attack the Midianites and to execute the Lord’s vengeance on Midian.
Numbers 31:8-9
31:8 They killed the kings of Midian in addition to those slain – Evi, Rekem, Zur, Hur, and Reba – five Midianite kings. They also killed Balaam son of Beor with the sword.
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.