Numbers 25:18
18for they harassed you with their wiles, wherein they have deceived you in the matter of Peor, and in the incident regarding Cozbi, the daughter of the prince of Midian, their sister, who was slain on the day of the plague in the matter of Peor.”
Arminian
The reason is that Midian “harassed you with their wiles” in the matter of Peor and of Cozbi. Numbers 31:16 later says this came “through the counsel of Balaam,” and Rev 2:14 refers to Balaam’s teaching. Moab is named in 25:1, but Midian had joined Moab against Israel from the start (22:4, 7).
Arminian readers note that what Balaam could not do by cursing was attempted through temptation. They stress that God’s people must guard against seduction as well as open attack.
Reformed
The deception at Peor is presented as an assault on Israel’s faithfulness.
Reformed readers stress that the enemy who could not curse Israel sought to draw it into sin, and that God defended his people. Both traditions agree that the greater danger to God’s people came from within, through temptation, and that God’s faithfulness preserved them.