1 Chronicles 21:2

21:2 David told Joab and the leaders of the army, “Go, count the number of warriors from Beer Sheba to Dan. Then bring back a report to me so I may know how many we have.”

1 Chronicles 21:18

21:18 So the Lord’s messenger told Gad to instruct David to go up and build an altar for the Lord on the threshing floor of Ornan the Jebusite.