Edom has been independent of Judah ever since. During this same period the city of Libnah also revolted, because Jehoram had abandoned the Lord, the God of his ancestors.
Zedekiah was twenty-one years old when he became king of Judah, and he ruled in Jerusalem for eleven years. His mother's name was Hamutal, the daughter of the Jeremiah who lived in the city of Libnah.
Joshua attacked and captured Makkedah and its king that day. He put everyone in the city to death; no one was left alive. He did to the king of Makkedah what he had done to the king of Jericho.
The Lord also gave the Israelites victory over this city and its king. They spared no one, but killed every person in it. They did to the king what they had done to the king of Jericho.
You are to do to Ai and its king what you did to Jericho and its king, but this time you may keep its goods and livestock for yourselves. Prepare to attack the city by surprise from the rear.”
He hanged the king of Ai from a tree and left his body there until evening. At sundown Joshua gave orders for the body to be removed, and it was thrown down at the entrance to the city gate. They covered it with a huge pile of stones, which is still there today.