Thou through thy commandments hast made me wiser than mine enemies.
But how can this be, seeing that our Saviour saith that the men of this world are wiser in their own generation than the children of God? The answer is, our Saviour doth not call worldlings wise men simply; but wiser in their own generation; that is, wise in things pertaining to this life. Or as Jeremiah calls them, "wise to do evil"; and when they have so done, wise to conceal and cloak it. All which in very deed is but folly; and therefore David, who by the light of God's word saw that it was so, could not be moved to follow their course. Well; there is a great controversy between the godly and the wicked: either of them in their judgment accounts the other to be fools; but it is the light of God's word which must decide it.
William Cowper, quoted in Charles Spurgeon's The Treasury of David, on Psalm 119, verse 98