The problem with this line of argument is the assumption that deterrence is the only purpose of punishment. Justice (in the hard-to-quantify sense referenced by the GP) for the victim and community (and on a practical tangent, the deterrence of vigilante justice) is a pretty significant purpose of punishment.