King David said to Joab, the captain of the army, “Go through all the tribes of Israel from Dan to Beersheba, and count the people. Then I will know how many people there are.”