The king therefore said to Joab and the leaders of the army who were with him, “Tour all the tribes of Israel from Dan to Beer-sheba and register the people, that I may know their number.”