2 Samuel (Author Compiled by Isaiah from records of Samuel, David, Nathan, and Gad.)
Chapter 24
2And 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.
Original from The Bible Foundation - bf.org. They claim public domain status for their original text.