I can tell you this on a stack of Bibles: prisons are archaic, brutal, unregenerative, overcrowded hell holes where the inmates are treated like animals with absolutely not one humane thought given to what they are going to do once they are released. You're an animal in a cage and you're treated like one.
If you treat prisoners well, they will be less angry, less inclined to violence inside prison, less likely to provoke violent actions by guards, less likely to have reason to file brutality lawsuits that cost taxpayers a bundle and waste administrators' time. And most important, well-treated prisoners will be less likely to leave prison angrier, more vicious and more inclined to criminal behavior than when they went in.
Overlook our deeds, since you know that crime was absent from our inclination.
Justice is that virtue of the soul which is distributive according to desert.