See Josh. 9
If we are acting faithfully, to every step of faithfulness the Lord will surely add more light; only it behooves us to take counsel of the Lord at every step. Peace with Gibeon only deprives us of victory, and brings upon us other wars and troubles; for the presence of what is not of God always opens the door to Satan. This, perhaps, is not so much felt when the soul is full of vigor, but when there is decline, then the evil and its consequence is felt.
In the days of David, there was a famine three years; it was for Saul and for his bloody house, because he had slain the Gibeonites. All this arose from the little act of not taking counsel with God. When all was war, it appeared a convenient thing, a blessing, to find some peace and recognition from those who said, The Lord your God. It sounded like Rahab's believing voice; and in appearance, with these far-distant travelers, there was nothing wrong in peace-they were not of the forbidden and accursed race. But they asked not counsel of the Lord; and it turned out that they were of the accursed race, and it almost separated between Joshua and the people. So cunning is the enemy, it is almost as bad, or worse, to lean on one's own wisdom in the ways of God, as on one's own strength in the battles of God; peace with Gibeon and war with Ai end in defeat, or in confusion and shame.