Sin is not hurtful because it is forbidden, but it is forbidden because it is hurtful.
Vicious actions are not hurtful because they are forbidden, but forbidden because they are hurtful.