2 So David gave orders to Joab, the commander of his army: “Go with your officers through all the tribes of Israel from one end of the country to the other, and count the people. I want to know how many there are.”
3 But Joab answered the king, “Your Majesty, may the Lord your God make the people of Israel a hundred times more numerous than they are now, and may you live to see him do it. But why does Your Majesty want to do this?”
4 But the king made Joab and his officers obey his order; they left his presence and went out to count the people of Israel.
5 They crossed the Jordan and camped south of Aroer, the city in the middle of the valley, in the territory of Gad. From there they went north to Jazer,
6 and on to Gilead and to Kadesh, in Hittite territory. Then they went to Dan, and from Dan they went west to Sidon.
7 Then they went south to the fortified city of Tyre, on to all the cities of the Hivites and the Canaanites, and finally to Beersheba, in the southern part of Judah.
8 So after nine months and twenty days they returned to Jerusalem, having travelled through the whole country.