But King David made Joab follow his order. So Joab left and went through all Israel, counting the people. Then he returned to Jerusalem.