Criminals have to want to stop doing crime before they can be rehabilitated.
Criminals have to want to stop doing crime before they can be rehabilitated.
This is literally what rehabiliation entails. Convincing criminals that they have better options than crime.
It doesn't work for everyone. There are absolutely bad people who will just violate social contracts, or who can't control their rage turning into violence. Those people need to be incapacitated. But for the vast majority of criminals, particularly non-violent criminals, crime is an economic cost-benefit exercise.
Whenever a read a story about someone who's been to prison and then ends up a solid, productive member of society, I can't help but think: "This person must have extraordinary grit and determination!" Because when a criminal gets out of prison, the entire system and the entire society is set up to try to oppose his rehabilitation and get him back into prison. Overcoming this active hostility must take a remarkable person.
This is precisely the story of Les Misérables - that remarkable person being Jean Valjean.
I think some people just haven't been exposed to the benefits of taking a path to life that doesn't involve crime. Some people also need to be convinced that there are viable alternatives to crime. And as someone else said, society needs to give them the chance to redeem themselves and pursue those alternate paths.