Criminals are punished, that others may be amended.