Consequentialism is an ethical theory that judges whether or not something is right by what its consequences are.
Retributive justice is a theory of punishment that maintains that wrongdoers deserve to be punished, in proportion to their crimes, as a matter of justice or right.
All of these seem to abandon the wider outlook that punishment in lieu of rehabilitation has had on society at least in the United States. A single punishment without rehabilitation is already generational. This also postures crime as some kind of primordial evil; there are certainly some crimes and specific natures of crime that I could see most people agreeing are "evil" but when we're talking the vast majority of crime worthy of punishment do people really believe that evil is what's at the center of it?