 The king said to Joab the commander of the army, who was with him, Go throughout all the tribes of Israel, from Dan to Beersheba, and count all the people, so that I may know the total number of men fit for battle. 