I have read that the first penitentiaries were organized by religious folks so criminals could do penance for their crimes against society.
Before that it was jail, the stocks, hangman’s noose, or banishment.
Yes. that is correct. Prison reform was very much the purvue of Religious Organizations as well.