He also built upper and lower Beth-horon as fortified cities, installing walls, gates, and bars, 