“As righteousness tendeth to life: so he that pursueth evil pursueth it to his own death. Though hand join in hand, the wicked shall not be unpunished: but the seed of the righteous shall be delivered.” - Proverbs 11:19, 21.
When the kings of the various provinces of Canaan heard that the Gibeonites had associated themselves with Joshua; they joined forces to fight against the Gibeonites. (Joshua 10:2-5) This part of the story pictures how the devil gathers his followers to attack the people of God in order to destroy them. Solomon says: “An unjust man is an abomination to the just: and he that is upright in the way is abomination to the wicked.” (Proverbs 29:27) The wicked are constantly being moved by the devil to oppose righteousness because they want to continue in their evil ways. They do not want to see anyone who would expose them or cause them to feel guilty for the paths they have chosen. The only way to prevent the upright from pointing accusing fingers at them is to revile them, reduce them to nothing and possibly destoy them.
The people of God should have knowledge of the devil's devices and be prayerful, refusing to be swayed from the rightful course and remaining steadfast until the end. “The wicked plotteth against the just, and gnasheth upon him with his teeth. The Lord shall laugh at him: for he seeth that his day is coming. The wicked have drawn out the sword, and have bent their bow, to cast down the poor and needy, and to slay such as be of upright conversation. Their sword shall enter into their own heart, and their bows shall be broken.” - Psalm 37:12-15.