That thou mayest walk in the way of good men, and keep the paths of the righteous.
– Proverbs 2:20
[V]erses 20-22 provide a summary conclusion of what has gone before. This verse ties back to the earlier verses about seeking wisdom and the rewards when we find it. Beginning in verse 12, we are told what wisdom keeps us from and here what wisdom keeps us to. Rather than going in the various ways of evil men and strange women, wisdom puts us in the way of good men and the paths of the righteous. Solomon will have more to say about companions explicitly, but we have already seen enough to know who our companions are is important.