From the time that Amaziah turned away from following Adonai, they conspired against him in Jerusalem, so he fled to Lachish. But they sent men after him to Lachish and put him to death there.
After this, when King Sennacherib of Assyria, while he and all his forces with him were besieging Lachish, sent his servants to Jerusalem to Hezekiah king of Judah and to all Judah who were in Jerusalem, saying:
when the army of the king of Babylon was warring against Jerusalem and against all the cities of Judah that were left—against Lachish and against Azekah, for these alone remained of the cities of Judah as fortified cities.
While they were fleeing before Israel down the descent of Beth-horon, Adonai cast down great stones from heaven on them all the way to Azekah so they died—more of them died from the hailstones than those Bnei-Yisrael killed with the sword.
So the five kings of the Amorites—the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish and the king of Eglon—gathered themselves and went up, they and all their armies, camped against Gibeon and attacked it.