I believe, and I may be wrong, the system sometimes works and sometimes doesn't. Prison is supposed to rehabilitate, but they don't do that in a lot of cases.
As you know, a theory in physics is not useful unless it is able to predict underlined effects which we would otherwise expect.