“And behold, one of the people of Israel came and brought a Midianite woman to his family …” (v6). Moses had already confronted the Israelites about their idolatry and sexual immorality with the Midianites (v1-5), and the leaders had been punished. While the rest of the congregation was publicly repenting, Zimri chose to brazenly commit further sin “in the sight of the whole congregation” (v6). He and the Midianite woman named Cozbi lost their lives as a result (v14-15).
“They were weeping in the entrance to the tent of meeting” (v6). Because God doesn’t want our sin to destroy us, He gives us opportunities to repent and turn to Him.