Thus Edom has been in rebellion against Judah to this day. Then Libnah also revolted from under his hand at that time—because he had forsaken Adonai, the God of his fathers.
On that day Joshua captured Makkedah and struck it and its king with the edge of the sword, putting it and every single soul in it under a ban of destruction, leaving no survivors. So he did to the king of Makkedah as he had done to the king of Jericho.
Adonai also gave it with its king into the hand of Israel. So he struck it and every single soul in it with the edge of the sword, leaving no survivors in it. So he did to its king as he had done to the king of Jericho.
Then you will do to Ai and its king as you did to Jericho and its king—except you will take its spoil and its cattle as plunder for yourselves. Set an ambush for the city behind it.”
Then he hanged the king of Ai on a tree until evening. At sunset Joshua commanded that they take his carcass down from the tree, cast it at the entrance of the gate of the city, and piled over it a great heap of stones, which remains to this day.