So David said to Joab and to the leaders of the people, "Go, number Israel from Beersheba to Dan, and bring the number of them to me that I may know it."
1 Chronicles 21:2
Surrounding context
21:1 Now Satan stood up against Israel, and moved David to number Israel.
21:2 So David said to Joab and to the leaders of the people, "Go, number Israel from Beersheba to Dan, and bring the number of them to me that I may know it."
21:3 And Joab answered, "May the LORD make His people a hundred times more than they are. But, my lord the king, are they not all my lord's servants? Why then does my lord require this thing? Why should he be a cause of guilt in Israel?"