Proverbs 16:17 Philosophy

מְסִלַּ֣ת יְ֭שָׁרִים ס֣וּר מֵרָ֑ע שֹׁמֵ֥ר נַ֝פְשׁ֗וֹ נֹצֵ֥ר דַּרְכּֽוֹ׃

The highway of the upright is to depart from evil; He that keepeth his way preserveth his soul.

Read Jewish philosophical commentary on Proverbs 16:17: and classical philosophical sources.