David had said, “Whoever attacks the Jebusites first will become chief and commander.” So Joab son of Zeruiah attacked first, so he was made the chief.