David had said, "The first one to kill a Jebusite will become commander in chief!" Joab, Zeruiah’s son, was the first to attack and so became commander in chief.