But he who desires to inflict rational punishment does not retaliate for a past wrong which cannot be undone; he has regard to the future, and is desirous that the man who is punished, and he who sees him punished, may be deterred from doing wrong again. He punishes for the sake of prevention, thereby clearly implying that virtue is capable of being taught.