
There is quite a helpful contrast painted for us in these two verses.
In contrast to the dark compulsions of sin, is the path of righteousness which gives more and more light as you go, and does not drag you deeper and deeper down.
Note then that the path of righteousness is progressive. It is a path which must be walked down to make progress. And the more it is walked, the more light (wisdom and insight) into sin, sinfulness, righteousness, holiness and our true status and condition in Christ – we gain.
In contrast with the wicked in vs. 19, those on the path of righteousness get light regarding the things they stumble over. It is not that they do not trip and fall at times, but they are equipped to analyze, learn, devise strategies for next time, and how to avoid certain obstacles so as not to stumble there again.
Oh, the grace of God.