He also built upper Beth-horon and lower Beth-horon, which were fortified cities with walls, gates, and bars;