Psalm 119:10 says, “With my whole heart I have sought You; Oh, let me not wander from Your commandments.” How can both be true of the Psalmist/us? How can a person who seeks the Lord with the whole heart wander from His commandments?
The answer is in our two natures. According to our corrupt human nature, inherited from Adam, wandering is what we do, always, and with determination. But, according to our soul, newly regenerated in the image of Christ, we do always seek the Lord with our whole heart.
The victory in this struggle belongs to God and to all who are strengthened by His Word and grace.