Numbers 31:2

2 "Avenge the Israelites on the Midianites; afterward you shall be gathered to your people."