He also built up the city on all sides, including its own foundations and the surrounding areas, while Joab restored the rest of the city.