Numbers 25:5

5 So Moses said to Israel’s judges, “Each of you must put to death those of your people who have yoked themselves to the Baal of Peor.”

Read Numbers 25:5 Using Other Translations

And Moses said unto the judges of Israel, Slay ye every one his men that were joined unto Baalpeor.
And Moses said to the judges of Israel, "Each of you kill those of his men who have yoked themselves to Baal of Peor."
So Moses ordered Israel’s judges, “Each of you must put to death the men under your authority who have joined in worshiping Baal of Peor.”

What does Numbers 25:5 mean?

John Gill's Exposition of the Bible
Numbers 25:5

And Moses said unto the judges of Israel
Either the same with the heads of the people, or the rulers of thousands, hundreds, fifties, and tens, according to the distribution by the advice of Jethro:

slay ye everyone his men, that were joined unto Baalpeor;
all that were under their several districts and jurisdictions, that were found guilty of that crime; these they are ordered to slay, either with their own hands, or rather cause to be slain by proper persons they should appoint to be executioners.

California - Do Not Sell My Personal Information  California - CCPA Notice