If it is God's Law then it is moral. We have a moral obligation to comply with it. And consider the implications if God gave a law that wasn't moral.
What then shall we say? That the law is sin? By no means! Yet if it had not been for the law, I would not have known sin. I would not have known what it is to covet if the law had not said, "You shall not covet." (Rom 7:7)Just some thinking fodder.