He built up the walls surrounding the city in a complete circle from the terrace ramparts, and Joab repaired the rest of the city. 