When my spirit was overwhelmed within me, then thou knewest my path. In the way wherein I walked have they privily laid a snare for me.
When my spirit was overwhelmed within me,.... Ready to sink and faint under the present affliction, being attended with the hidings of God's face, and with unbelieving frames; which is sometimes the case of God's people, and with which they are as it were covered and overwhelmed, as well as with a sense of sin, and with shame and sorrow for it; see Psalms 61:2;
then thou knewest my path: the eyes of the Lord are upon all men, and he knows their goings, none of them are hid from him; and he sees and approves of the way, of the life and conversation of his people in general; and particularly observes what way they take under affliction, which is to apply to him for help and deliverance, Psalms 1:6. R. Moses in Aben Ezra and Kimchi interpret it of the path he walked in, which was right and not evil, for which he could appeal to God, that knows all things; it may literally intend the path David took to escape the fury of Saul, that pursued him from place to place;
In the way wherein I walked have they privily laid a snare for me; let him take which way he would, there were spies upon him, or men that were in ambush to take him; and snares were everywhere laid for him to entrap him; see Ps 140:5.