Then Moses spoke to the Israelites, and they took the one who had cursed outside the camp and stoned him. So the Israelites did as the LORD had commanded Moses.