Actually that was the original concept, by the Quakers, of which the word penitentiary comes from. The Quakers would take someone; throw them into solitary with a copy of the bible, so that they could have some time to contemplate the errors of their ways, and to become repentant.