https://mises.org/library/punishment-and-proportionality-0
https://mises.org/library/libertarian-position-capital-punishment
https://mises.org/wire/restitution-and-punishment
and a thousand more discussions, theories, arguments if you invest 5 minutes to find them.
You're primary blindness is the demand for easy to consume solutions that are perfect - for messy, ugly and nearly impossibly miserable situations.
Something you don't demand from gvmt.