Yes, it is evil. A good person would want to rehabilitate the person, not turn them over to eternal damnation. Also, a good person understands the morality of what they did that was wrong, like make a deal with the devil, is circumstantial. A father saving his child, a lover saving their one...