Are we talking about two different messages?
How does this statement fit with the theology of Grace? The Christian believes that it is impossible to achieve righteousness through obedience. We need a Saviour! This verse seems to contradict the gospel. Maybe faith was the presupposition? Of course you are trusting in God to save you, now about this matter of obedience. You must obey or you are not righteous. What you do matters! Maybe this is pointing to their need, you will be righteous when you obey ALL the laws, didn’t take long to figure out that this is not possible. Enter the sacrificial system.