Pro 16:17 The highway of the upright avoids evil; the one who guards his way protects his life.
The upright person seeks to avoid evil. Guarding his way (i.e., maintaining upright conduct) is a means of guarding one’s soul (inner life with its drives, appetites, and desires) from sin.