Prison as a space for reforming and rehabilitating is an idea that goes back hundreds of years:
If anything, the idea of paying for crime by making a payment goes back even further.