And he built upper Beth-horon and lower Beth-horon, as walled cities, having gates and bars and locks,