What sin is it when someone acts in ways that offend God?

THAT is the DEFINITION of sin.....acting in ways that offend God.

All sins offend God.