What does Deuteronomy 4:3 mean?
You saw with your own eyes what the Lord did at Baal Peor. The Lord your God wiped out everyone among you who followed that idol. Deuteronomy 4:3 - Modern Text Bible
(Moses reminds them of a recent event where those who worshiped another god were destroyed, as a warning to stay faithful.)