With all my heart I have sought You; Do not let me wander from Your commandments.
NASB95
With my whole heart I seek you; let me not wander from your commandments!
ESV
With my whole heart have I sought thee: O let me not wander from thy commandments.
KJV

Attention to the word, however important, can never be practically effective without earnest prayer. Indeed this is the character of the Lord's people, "a generation of seekers;" and yet how much do we lose of the comfort of our religion, and obscure the glory of our profession, by neglecting to bring "our whole heart" to this work! When sin is vigorous, and our spiritual affections are dull, and various hindrances combine in prayer—at this crisis strong faith is needed to overcome and to persevere. But here the soul too commonly yields to the difficulty, and contents itself either with heartless complainings, or with just sufficient exertion to quiet the voice of conscience, and produce a delusive peace within. But the Lord will not be found thus. His promise is not to such seekers as these; and if we are satisfied with this state, we must look for a very scanty measure of spiritual success, accompanied with the total absence of spiritual enjoyment.

In a far different spirit David could appeal, "With my whole heart have I sought You." And this assurance, instead of producing self-confidence, will, so far as it is genuine, invariably show itself in a prayerful acknowledgment of our weakness, "O let me not wander from Your commandments." Yet the feeblest desire and attempt to seek the Lord is the Spirit's rising beam in the heart, a "day of small things" not to be "despised." It is distinguished from every other principle by the simplicity of its object, "This one thing I do. One thing have I desired of the Lord; that will I seek after." My God! my Savior! with my whole heart have I sought You. "The desire of my soul is to Your name, and to the remembrance of You. With my soul have I desired You in the night; yes, with my spirit within me will I seek You early."

When the soul is thus conscious of "following the Lord fully," there is a peculiar dread of wandering. In a careless or half-hearted state, wanderings are not watched, so long as they do not lead to any open declension. Secret prayer will be hurried over, worldly thoughts unresisted, waste of time in frivolous pursuits indulged, without much concern. Not so, when the heart is fully in pursuit of its object. There is a carefulness, lest wandering thoughts should become habitual. There is a resistance of the first step, that might lead into a devious path. The soul remembers the "wormwood and the gall," "the roaring lion," and the devouring wolf; and in the recollection of the misery of its former wandering, dreads any departure from the Shepherd's fold.

This blessed state of mind the flock of Christ should cherish with godly jealousy. Yet let it be remembered, that daily progress in the heavenly walk is not maintained by yesterday's grace. Humble and dependent prayer must fetch in a fresh supply continually, "O let me not wander from Your commandments." 'Lord, I feel my heart so prone to wander. My affections are often scattered to the ends of the earth. "Unite my heart to fear Your name." Concentrate every thought, every desire, in Yourself, as the one object of attraction.'

"With my whole heart have I sought you." His heart had gone after God himself: he had not only desired to obey his laws, but to commune with his person. This is a right royal search and pursuit, and well may it be followed with the whole heart. The surest mode of cleansing the way of our life is to seek after God himself, and to endeavor to abide in fellowship with him. Up to the good hour in which he was speaking to his Lord, the Psalmist had been an eager seeker after the Lord, and if faint, he was still pursuing. Had he not sought the Lord he would never have been so anxious to cleanse his way.

It is pleasant to see how the writer's heart turns distinctly and directly to God. He had been considering an important truth in the preceding verse, but here he so powerfully feels the presence of his God that he speaks to him, and prays to him, as to one who is near. A true heart cannot long live without fellowship with God.

His petition is founded on his life's purpose: he is seeking the Lord, and he prays the Lord to prevent his going astray in or from his search. It is by obedience that we follow after God: hence the prayer, "O let me not wander from your commandments"; for if we leave the ways of God's appointment, we certainly shall not find the God who appointed them. The more a man's whole heart is set upon holiness the more does he dread falling into sin; he is not so much fearful of deliberate transgression as of inadvertent wandering: he cannot endure a wandering look, or a rambling thought, which might stray beyond the pale of the precept. We are to be such wholehearted seekers that we have neither time nor will to be wanderers; and yet with all our whole-heartedness we are to cultivate a jealous fear lest even then we should wander from the path of holiness.

Two things may be very like and yet altogether different: saints are "strangers"—"I am a stranger in the earth" (verse 19), but they are not wanderers: they are passing through an enemy's country, but their route is direct; they are seeking their Lord while they traverse this foreign land. Their way is hidden from men; but yet they have not lost their way.

The man of God exerts himself, but does not trust himself: his heart is in his walking with God; but he knows that even his whole strength is not enough to keep him right unless his King shall be his keeper, and he who made the commands shall make him constant in obeying them: hence the prayer, "O let me not wander." Still, this sense of need was never turned into an argument for idleness; for while he prayed to be kept in the right road he took care to run in it, with his whole heart seeking the Lord.

Note how the second part of the psalm keeps step with the first: where verse 2 pronounces that man to be blessed who seeks the Lord with his whole heart, the present verse claims the blessing by pleading the character: "With my whole heart have I sought you."