Some people expect that prisons will be a deterrent to further crime.