The legal system is merely a device for attempting to sort the Scumbags out from Good Folks, and the prison system is a place to stick Scumbags where they can not do any damage, and to punish them good and hard, because seeing Scumbags get punished is satisfying and reminds the Good Folks that they are not Scumbags.