He strengthened Upper Beth-Horon and Lower Beth-Horon by adding walls and gates that could be locked.