Most people come out of prison in WAY better shape than they went in
It's not prison, but I know people who spent time in various county jails for weeks to months, and all of them definitely came out worse, and did their best to stay as far away as possible from going back (at least as far as I could tell).