Proverbs 16:17 Those who are good travel a road that avoids evil; so watch where you are going—it may save your life.
Note, 1. It is the way of the upright to avoid sin, and everything that looks like it and leads towards it; and this is a highway marked out by authority, tracked by many that have gone before us, and in which we meet with many that keep company with us; it is easy to find and safe to be travelled in, like a highway, Isa_35:8. To depart from evil is understanding. 2. It is the care of the upright to preserve their own souls, that they be not polluted with sin, and that by the troubles of the world they may not be put out of the possession of them, especially that they may not perish for ever, Mat_16:26. And it is therefore their care to keep their way, and not turn aside out of it, on either hand, but to press towards perfection. Those that adhere to their duty secure their felicity. Keep thy way and God will keep thee. from Matthew Henry’s Commentary on the Whole Bible