3 You saw with your own eyes what he did in Baal Peor. The LORD your God exterminated from among you every man who followed Baal of Peor.
Deuteronomy 4:3 Cross References - ISV
Numbers 25:1-9
1 Worship of Baal of PeorWhile Israel remained encamped in Shittim, the people began to commit sexual immorality with Moabite women,
2 who also invited the people to the sacrifices of their gods. So the people ate what they had sacrificed and then worshipped their gods.
3 The people joined the Baal-peor cult. As a result, the anger of the LORD flared up against Israel,
4 so the LORD told Moses, “Take all the leaders of the people and execute them in broad daylight for the LORD, so the LORD’s burning anger may be withdrawn from Israel.”
5 Then Moses ordered the judges of Israel, “Each one of you is to execute the men in his own tribe who joined the Baal-peor cult.”
6 That very moment, one of the Israelis arrived, bringing to his brothers one of the Midianite women, right in front of Moses and the entire community of Israel, while they were weeping at the entrance to the Tent of Meeting! 7 When Eleazar’s son Phinehas, grandson of Aaron the priest saw this, he jumped up from the middle of the community, grabbed a javelin in his hand, 8 followed the Israeli man inside his tent, and impaled the two of them—the Israeli man and the woman—right through both of them and into her abdomen. Then the plague infecting the Israelis was brought to a halt. Nevertheless, 9 24,000 people died because of the plague.
5 Then Moses ordered the judges of Israel, “Each one of you is to execute the men in his own tribe who joined the Baal-peor cult.”
6 That very moment, one of the Israelis arrived, bringing to his brothers one of the Midianite women, right in front of Moses and the entire community of Israel, while they were weeping at the entrance to the Tent of Meeting! 7 When Eleazar’s son Phinehas, grandson of Aaron the priest saw this, he jumped up from the middle of the community, grabbed a javelin in his hand, 8 followed the Israeli man inside his tent, and impaled the two of them—the Israeli man and the woman—right through both of them and into her abdomen. Then the plague infecting the Israelis was brought to a halt. Nevertheless, 9 24,000 people died because of the plague.
Numbers 26:64
64 But none of these men among these numbered by Moses and by Aaron the priest (that is, when they numbered the Israelis in the wilderness of Sinai) survived to enter the land,
Numbers 31:16
16 “Look! These women were the same ones who were counseled by Balaam to cause the Israelis to commit a grievous sin against the LORD at Peor. As a result, that plague infected the LORD’s community.
Joshua 22:17
17 Isn’t the evil that happened at Peor enough for us, from which we have yet to be completely cleansed even to this point, and because of which a plague came upon the community of the LORD?
Psalms 106:28-29
Hosea 9:10
10 “I found Israel, as one finds grapes in the wilderness; Your ancestors seemed to me like the fruit gleaned from a fig tree’s first harvest. When they went to Baal-peor, they devoted themselves to that filth, and they became loathsome, like what they loved.