Numbers 25:17
Vex the Midianites, and smite them:
Cross-references
Numbers 31:2
Historical context
Numbers 31:2 reiterates God's command to avenge Israel on the Midianites, fulfilling the order given in this verse.
Judges 6:1
Contrast
Judges 6:1 shows Midian oppressing Israel later—a reversal of the command here, as Israel's disobedience leads to Midian's victory.