Numbers 31:2-5 New American Standard Bible (NASB)

2. "Take full vengeance for the sons of Israel on the Midianites; afterward you will be gathered to your people."

3. 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.

4. A thousand from each tribe of all the tribes of Israel you shall send to the war."

5. So there were furnished from the thousands of Israel, a thousand from each tribe, twelve thousand armed for war.

Numbers 31