King David said to Joab, the commander of the army who was with him, “Go throughout the tribes of Israel from Dan to Beersheba and count the people. That way I will know how many there are.”