then you shall do to him as he thought to have done to his brother. Thus you shall purge the evil from your midst.