There is a distinction between walking before God and walking with God.
To walk before God is to walk with an abiding sense of God's eye being upon us;
To walk with a desire to do those things which are pleasing in his sight;
To walk in his ordinances blameless;
To walk before his people with our garments unspotted by the world;
In a word, to walk before him in private as in public, alone and in company, before the Church and the world, by day and by night, as we should walk if we had a personal view of his glorious majesty in heaven before our eyes.
Now if you carried about with you a deep and daily sense that God saw every thought, marked every movement, heard every word, and observed every action, this sense of his presence would put a restraint upon your light, trifling, and foolish spirit.
You would watch your thoughts, your words, your actions, as living under a sense of God's heart-searching eye.
This is to walk before God.
But we read of Enoch that he "walked with God." This is a more advanced stage of the divine life.
To walk with God is to walk with him in sweet familiarity, in holy confidence, in a blessed sense of interest in his love and grace, and thus to walk with him and talk with him as a man walketh and talketh with his friend.
There are some who walk before God, but how few walk with God!
~J. C. Philpot~