When Moses had said this to the people of Israel, they took the man outside the camp and stoned him to death. In this way the people of Israel did what the Lord had commanded Moses.