The reason I don't like the judicial system is because it is often based on the idea of "deserving" - like bad people "deserve" to go to jail. But good people don't "deserve" to pay for it by having their lives in danger when the prisoner is released, or by having their tax money pay for it when the prisoner is in jail. Sending them to jail doesn't always help and when they get out again, they aren't exactly going to repent their crimes and lead a life of kindness and virtue. The only useful thing about jail is that it temporarily keeps criminals out of the way and it might make some people feel guilty for their crimes, but the worst criminals are kinda past the point of forgive & forget, if you haven't noticed.
People seem to think that we punish people because they deserve it, when what they should really be thinking about is how you can make the person fit better into society and not harm people. If they have a mental health issue (which happens pretty often - and insurance doesn't usually pay for mental health, and we are not going to discuss my dislike of the fact that nobody seems to think mental health is important, it's just "crazy people and all that stuff"
then it needs to be addressed, not have the person sent to jail either with a life sentence, which contributes to prison overpopulation, or a shorter sentence, which would threaten people's safety when they go back and probably not help at all.