4Then David and all the Israelites marched to Jerusalem (that is, Jebus), where the Jebusites inhabited the land.
5The people of Jebus said to David, “You will never get in here.” Nevertheless, David captured the fortress of Zion (that is, the City of David).
6Now David had said, “Whoever is the first to strike down a Jebusite will become chief commander.” And Joab son of Zeruiah went up first, and he became the chief.
— 1 Chronicles 11:4-6