Despite the rightness or wrongness of the 'rules', or the appropriateness of the actual punishments, the concept of punishment is primarily intended as a deterrent. As we are only aware of when that deterrent fails, it is not possible to ascertain exactly how effective it is, except in a personal sense.