Oh that my ways may be established To keep Your statutes!
NASB95
Oh that my ways may be steadfast in keeping your statutes!
ESV
O that my ways were directed to keep thy statutes!
KJV

The Lord has indeed "commanded us to keep His precepts." But, alas! where is our power? Satan would make the sense of our weakness an excuse for indolence. The Spirit of God convinces us of it, as an incitement to prayer, and an exercise of faith. If, Reader, your heart is right with God, you "consent to the law that it is good;" you "delight in it after the inner man;" you would not have one jot or tittle altered, mitigated, or repealed, that it might be more conformed to your own will, or allow you more liberty or self-indulgence in the ways of sin. But do you not sigh to think, that, when you aim at the perfect standard of holiness, you should, at your best moments, and in your highest attainments, fall so far below it; seeing indeed the way before you, but feeling yourself without ability to walk in it? Then let a sense of your helplessness for the work of the Lord lead you to the throne of grace, to pray, and watch, and wait, for the strengthening and refreshing influences of the Spirit of grace. Here let your faith realize at one and the same view your utter insufficiency, and your complete All-sufficiency. Here behold Him, who is ever presenting Himself before God as our glorious Head, receiving in Himself, according to the good pleasure of the Father, the full supply for this and every successive moment of inexpressible need. Our work is not therefore left upon our own hands, or wrought out at our "own charges." So long as he has the "Spirit of grace" he will be found "sufficient"—Divine "strength will be made perfect in weakness." "Without Him we can do nothing;" "through Him, all things." Even the "worm Jacob shall thresh the mountains," when the Lord says, "Fear not, I will help you."

In connecting this verse with the preceding, how accurately is the middle path preserved, equally distant from the idea of self-sufficiency to "keep the Lord's statutes," and self justification in neglecting them! The first attempt to render spiritual obedience will quickly convince us of our utter helplessness. We might as soon create a world, as create in our hearts one pulse of spiritual life. And yet our inability does not cancel our obligation. Shall God lose His right, because sin has palsied our ability? Is not a drunken servant still under his master's law? and is not the sin which prevents him from performing his duty, not his excuse, but his aggravation? Thus our weakness is that of a heart, which "cannot be subject to the law of God," only because it is carnal, "enmity against God." The obligation therefore remains in full force. Our inability is our sin, our guilt, and condemnation.

What then remains for us, but to return the mandate to heaven, accompanied with an earnest prayer, that the Lord would write upon our hearts those statutes, to which He requires obedience in His word?, "You have commanded us to keep Your statutes diligently." We acknowledge, Lord, our obligation; but we feel our impotency. Lord, help us: we look unto You. "Oh that our ways were directed to keep Your statutes!" "Give what You command—and then command what You will." (Augustine.)

Now, as if to exhibit the fullness and suitableness of the promises of the gospel, the commands and prayers are returned back again from heaven with promises of quickening and directing grace. Thus does the Lord fully answer His end with us. He did not issue the commands, expecting that we could turn our own hearts to them; but that the conviction of our entire helplessness might cast us upon Him, who loves to be sought, and never will be thus sought in vain. And indeed this is a part of the "mystery of godliness," that in proportion as we depend upon Him who is alike, "the Lord our righteousness," and our strength; our desire after holiness will increase, and our prayers become more fervent. He who commands our duty, perfectly knows our weakness; and he who feels his own weakness is fully encouraged to depend upon the power of his Savior.

Faith is then the principle of evangelical obedience, and the promises of His grace enable us for duty, at the very time that we are commanded to it. In this view are brought together the supreme authority of the Lawgiver, the total insufficiency of the creature, the full provisions of the Savior, and the all-sufficiency of "the God of grace." We pray for what we lack; we are thankful for what we have; we trust for what is promised. Thus "all is of God." Christ "is the Alpha and the Omega, the beginning and the end, the first and the last." Thus "grace reigns" triumphant. The foundation is laid in grace, and the headstone will be brought forth with shoutings, crying, "Grace, grace unto it!" The Savior's work is finished, and Jesus is crowned Lord of all forever.

Divine commands should direct us in the subject of our prayers. We cannot of ourselves keep God's statutes as he would have them kept, and yet we long to do so: what resort have we but prayer? We must ask the Lord to work our works in us, or we shall never work out his commandments. This verse is a sigh of regret because the Psalmist feels that he has not kept the precepts diligently, it is a cry of weakness appealing for help to one who can aid, it is a request of bewilderment from one who has lost his way and would gladly be directed in it, and it is a petition of faith from one who loves God and trusts in him for grace.

Our ways are by nature opposed to the way of God, and must be turned by the Lord's direction in another direction from that which they originally take, or they will lead us down to destruction. God can direct the mind and will without violating our free agency, and he will do so in answer to prayer; in fact, he has begun the work already in those who are heartily praying after the fashion of this verse. It is for present holiness that the desire arises in the heart: oh, that it were so now with me! But future persevering holiness is also meant; for he longs for grace to keep henceforth and forever the statutes of the Lord.

The sigh of the text is really a prayer, though it does not exactly take that form. Desires and longings are of the essence of supplication, and it little matters what shape they take. "Oh, that" is as acceptable a prayer as "Our Father."

One would hardly have expected a prayer for direction; rather should we have looked for a petition for enabling. Can we not direct ourselves? What if we cannot row, we can steer. The Psalmist herein confesses that even for the smallest part of his duty he felt unable without grace. He longed for the Lord to influence his will, as well as to strengthen his hands. We want a rod to point out the way as much as a staff to support us in it.

The longing of the text is prompted by admiration of the blessedness of holiness, by a contemplation of the righteous man's beauty of character, and by a reverent awe of the command of God. It is a personal application to the writer's own case of the truths which he had been considering. "O that my ways were directed to keep your statutes!" It were well if all who hear the word would copy this example and turn all that they hear into prayer. We should have more keepers of the statutes if we had more who sigh and cry after the grace which alone can keep them from wandering.