Quick answer
The scoffer avoids correction and then avoids the people who might give it. Both halves describe the same retreat, and the second one is how it becomes permanent.
Read both lines
The first line reports the feeling and the second reports the resulting logistics, which is the verse's real insight. Disliking correction is common and survivable; arranging a life where correction cannot reach you is the trap. The scoffer curates his company, and a man who will not go to the wise has effectively built a room with no doors, since the help he needs can only arrive through people he has decided not to visit. Proverbs saves its bleakest assessments for this posture, not because scoffing is the worst sin but because it disables the repair mechanism.
Related: Proverbs 15:31 · Proverbs 9:7–8 · Proverbs 13:20
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.