Verse 10 tells us that "if sinners entice thee, consent thou not."
The word Entice means "to be simple, deceive, persuade, be naive, or seduce. We are given a heads up on the tactics of the enemy. They will attempt to seduce or persuade you. Thats exactly what satan did in the garden when he spoke to Eve. He deceived her, he seduced her and caused her to act against God's Word.
But we do have weapons or tools to combat the enemies attack. Notice, this same verse tell us to "consent thou not."
The word consent means to be willing, to yield to, to accept, or to desire. Here God's Word gives us wisdom to defend ourselves. We are told not to accept, not to be willing, or not to desire the enticements offered by the world.
The old saying is misery loves company... Let's listen to God's wisdom and let misery be lonely.