Prison isn't torture.  Education, programming, counselling, leisure activities, medical services, etc.  Solitary is a different matter, but this is reserved for those who present a risk to others (or themselves) because of their behaviour.  An old man who won't pay his alimony will not end up in solitary.

Hospitals are for the truly sick, not the merely anti-social.  

Lots of people have bad genes, bad parents, bad friends or bad luck and do not engage anti-social behaviour and prey on others.  These conditions are not determinants of behaviour.  Everyone makes choices on how they play the cards they were dealt.  Those who victimize others deserve to be imprisoned.