They rebuilt Upper Beth-Horon town and Lower Beth-Horon city, and built walls around them with gates in the walls and bars to fasten the gates.