So the whole congregation took the man outside the camp and stoned him to death, as the LORD had commanded Moses.