Numbers 31:3-6

3So Moses spoke to the people, saying, “Arm men from among you for the war, that they may go against Midian to execute the Lord’s vengeance on Midian. 4You shall send a thousand from each of the tribes of Israel to the war.” 5So there were provided, out of the thousands of Israel, a thousand from each tribe, twelve thousand aarmed for war. 6And Moses sent them to the war, a thousand from each tribe, together with Phinehas the son of Eleazar the priest, with the vessels of the sanctuary and bthe trumpets for the alarm in his hand.
Copyright information for ESV