Then shall ye do unto him, as he had thought to have done unto his brother: so shalt thou put the evil away from among you.
you must do to him as he intended to do to his brother. So you must purge the evil from among you.
Read Deuteronomy 19