When a person sins, he breaks God’s law. Yes, sinning is the same as living against God’s law.