David built the city around the fort. He built it from the Millo to the wall around the city. Joab repaired the other parts of the city.