13For the promise that he would inherit the world did not come to Abraham or to his descendants through the law but through the righteousness of faith. 14If it is the adherents of the law who are to be the heirs, faith is null and the promise is void. 15For the law brings wrath; but where there is no law, neither is there violation. 16For this reason it depends on faith, in order that the promise may rest on grace and be guaranteed to all his descendants, not only to the adherents of the law but also to those who share the faith of Abraham (for he is the father of all of us, 17as it is written, “I have made you the father of many nations”) —in the presence of the God in whom he believed, who gives life to the dead and calls into existence the things that do not exist. (Romans 4:13-17, NRSV)
Faith is what gets us our inheritance into the kingdom.
If it is us following the Law, then we can do it all on our own and we don’t need God. But we still need the Law so we have order and know our violations. But the Law and adherence to it will not save us. Only God can do that through faith, the faithfulness of Jesus to show us how to live and love.