And the king said to Joab the captain of the host, who was with him, Go, I pray thee, through all the tribes of Israel, from Dan even to Beer-sheba, and count the people, that I may know the number of the people.