Pro 22:22 Rob not the poor, because he is poor: neither oppress the afflicted in the gate:
Pro 22:23 For the LORD will plead their cause, and spoil the soul of those that spoiled them.
Pro 22:24 Make no friendship with an angry man; and with a furious man thou shalt not go:
Pro 22:25 Lest thou learn his ways, and get a snare to thy soul.
Pro 22:26 Be not thou one of them that strike hands, or of them that are sureties for debts.
Pro 22:27 If thou hast nothing to pay, why should he take away thy bed from under thee?
Pro 22:28 Remove not the ancient landmark, which thy fathers have set.
Pro 22:29 Seest thou a man diligent in his business? he shall stand before kings; he shall not stand before mean men.
24 and 25 talk about being friends with bad influences. An angry man will share his ways with you and make you angry as well. I recently read Get Out of That Pit: Straight Talk about God's Deliverance by Beth Moore, and it talks about how people in a pit do not like to see you out of it. They will try to drag you back in with them. The pit of poor behavior, contention, and anger can be very compelling for some (myself included). We must pray for aid, and try to overcome that with God's grace.