After they had gone through the whole land, they went back to Jerusalem. It had taken them nine months and twenty days.
They came to the fortress of Tyre, then went through every town of the Hivites and the Canaanites. Finally, they went to Beersheba in the Southern Desert of Judah.
Joab came and told David, “In Israel there are eight hundred thousand who can serve in the army, and in Judah there are five hundred thousand.”