All consequences for crime should be just that, i.e. consequences. Not punishment. Not revenge. But imposing a consequence of law for behavior society deems unacceptable.
The consequences for most crime should be a fine, community service and/or making restitution to those harmed. The consequences for some crimes justify jail and/or prison. The consequences for some crimes justify loss of freedom for life. And the consequence for some crimes so unconscionably viscious, terrible, cruel, savage, threat to all of society that in my opinion should be death to the perpetrator.