Joshua said, “Open the mouth of the cave, and bring out to me those five kings from the cave.”
Then Samuel said, “Bring me Agag the king of the Amalekites.” And Agag came to him reluctantly. But Agag said, “Surely the bitterness of death is past.”
Then all the people returned safely to Joshua at the Makkedah settlement, and no one spoke against any of the Israelites.
They did this, and they brought out those five kings from the cave: the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon.
They took the king of Ai alive and brought him to Joshua.
So Joshua said, “Roll large stones over the mouth of the cave, and station men to stand guard over it.