[If you] know his will and approve what is excellent, because you are instructed from the law...
Romans 2:18 ESV

The Law does in fact instruct on God's will and that which is excellent, but it's not enough to hear and understand the Law. One must have sufficient faith to obey.