that by them I may prove Israel, whether they will keep the way of Yahweh to walk therein, as their fathers did keep it, or not.
      V. God's just resolution hereupon was still to continue the rod over them, 1. Their sin was sparing the Canaanites, and this in contempt and violation of the covenant God had made with them and the commands he had given them, Judges 2:20; Judges 2:20. 2. Their punishment was that the Canaanites were spared, and so they were beaten with their own rod. They were not all delivered into the hand of Joshua while he lived, Judges 2:23; Judges 2:23. Our Lord Jesus, though he spoiled principalities and powers, yet did not complete his victory at first. We see not yet all things put under him; there are remains of Satan's interest in the church, as there were of the Canaanites in the land; but our Joshua lives for ever, and will in the great day perfect his conquest. After Joshua's death, little was done for a long time against the Canaanites: Israel indulged them, and grew familiar with them, and therefore God would not drive them out any more, Judges 2:21; Judges 2:21. If they will have such inmates as these among them, let them take them, and see what will come of it. God chose their delusions, Isaiah 66:4. Thus men cherish and indulge their own corrupt appetites and passions, and, instead of mortifying them, make provision for them, and therefore God justly leaves them to themselves under the power of their sins, which will be their ruin. So shall their doom be; they themselves have decided it. These remnants of the Canaanites were left to prove Israel (Judges 2:22; Judges 2:22), whether they would keep the way of the Lord or not; not that God might know them, but that they might know themselves. It was to try, (1.) Whether they could resist the temptations to idolatry which the Canaanites would lay before them. God had told them they could not, Daniel 7:4. But they thought they could. "Well," said God, "I will try you;" and, upon trial, it was found that the tempters' charms were far too strong for them. God has told us how deceitful and desperately wicked our hearts are, but we are not willing to believe it till by making bold with temptation we find it too true by sad experience. (2.) Whether they would make a good use of the vexations which the remaining natives would give them, and the many troubles they would occasion them, and would thereby be convinced of sin and humbled for it, reformed, and driven to God and their duty, whether by continual alarms from them they would be kept in awe and made afraid of provoking God.