1 Chronicles 11:6-9
6 David had said, “Whoever leads the attack on the Jebusites will become commander-in-chief.” Joab son of Zeruiah went up first, and so he received the command.
7 David then took up residence in the fortress, and so it was called the City of David.
8 He built up the city around it, from the supporting terraces to the surrounding wall, while Joab restored the rest of the city.
9 And David became more and more powerful, because the Lord Almighty was with him.