It is the crime that causes the shame, and not the punishment.

造成耻辱的是罪行,而不是惩罚。