The king said to Joab the commander of the army who was with him, "Go about now through all the tribes of Israel, afrom Dan to Beersheba, and register the people, that I may know the number of the people."