The Bible tells us that obedience leads to understanding. It is not that our understanding leads us to be obedient. Obedience must come first, then when God sees the obedience, it is then that He will place the understanding within you.
https://www.youtube.com/watch?v=hmni02_emkQ
https://www.youtube.com/watch?v=hmni02_emkQ
That would seem to be upside down as if we did the first work, obey, than seek out a understanding. The apostate Jews required a sign by a work they performed before they world believe God was leading them. They stumbled over the cross.
Its his understandig that leads us .His word as perfect law quickens our soul so that we can understand and therfore seek after him who has no form.It does not become a law when we obey it.
It is Christ who works in us with us to both will and do or obey his good pleasure.
First things first.
The law of the LORD is perfect, converting the soul: the testimony of the LORD is sure, making wise the simple.The statutes of the LORD are right, rejoicing the heart: the commandment of the LORD is pure, enlightening the eyes.The fear of the LORD is clean, enduring for ever: the judgments of the LORD are true and righteous altogetherPsa 19:7