He rebuilt Upper Beth Horon and Lower Beth Horon as fortified cities, with walls and with gates and bars,