that all the people returned to the camp to Joshua at Makkedah in peace: none moved his tongue against any of the children of Israel.
      1. How they were secured. The cave which they fled to, and trusted in for a refuge, became their prison, in which they were clapped up, till Joshua sat in judgment on them, Joshua 10:18; Joshua 10:18. It seems they all escaped both the hail-stones and the sword, God so ordering it, not in kindness to them, but that they might be reserved for a more solemn and terrible execution; as, for this cause, Pharaoh survived the plagues of Egypt, and was made to stand, that God might in him show his power,Exodus 9:16. They all fled, and met at the same place, Providence directing them; and now those who were lately consulting against Israel were put upon new counsels to preserve themselves and agreed to take shelter in the same cave. The information brought to Joshua of this is an evidence that there were those of the country, who knew the holes and fastnesses of it, that were in his interests. And the care Joshua took to keep them there when they were there, as it is an instance of his policy and presence of mind, even in the heat of action, so, in the result of their project, it shows how those not only deceive themselves, but destroy themselves, who think to hide themselves from God. Their refuge of lies will but bind them over to God's judgment.