I Will comment on the above passage using other verses that explain it clear…..
My son, if sinners entice you, do not consent. If they say, “Come with us, let us lie in wait for blood, let us wantonly ambush the innocent; like Sheol let us swallow them alive and whole, like those who go down to the Pit; we shall find all precious goods, we shall fill our houses with spoil; throw in your lot among us, we will all have one purse” my son, do not walk in the way with them, hold back your foot from their paths; for their feet run to evil, and they make haste to shed blood. For in vain is a net spread in the sight of any bird; but these men lie in wait for their own blood, they set an ambush for their own lives. Such are the ways of all who get gain by violence; it takes away the life of its possessors.”