Joab gave the count of the census of the people to the king. There were eight hundred thousand capable men who could draw a sword in Israel, and the men of Judah were five hundred thousand.