2 Samuel 24:8

8 So when they had gone through all the land, they came to Jerusalem at the end of nine months and twenty days.

2 Samuel 24:8 In-Context

6 Then they came to Gilead, and to the land of Tahtimhodshi; and they came to Danjaan, and about to Zidon,
7 And came to the strong hold of Tyre, and to all the cities of the Hivites, and of the Canaanites: and they went out to the south of Judah, even to Beersheba.
8 So when they had gone through all the land, they came to Jerusalem at the end of nine months and twenty days.
9 And Joab gave up the sum of the number of the people unto the king: and there were in Israel eight hundred thousand valiant men that drew the sword; and the men of Judah were five hundred thousand men.
10 And David's heart smote him after that he had numbered the people. And David said unto the LORD, I have sinned greatly in that I have done: and now, I beseech thee, O LORD, take away the iniquity of thy servant; for I have done very foolishly.
The King James Version is in the public domain.