2 Samuel 24:2
For the king said to Joab the captain of the host, which was with him, Go now through all the tribes of Israel, from Dan even to Beer–sheba, and number ye the people, that I may know the number of the people.
Cross-reference
In 2 Samuel 24:7, the census extends to Tyre and the Hivites and Canaanites, showing the full scope of David's command.
In 2 Samuel 24:15, the plague strikes Israel as a direct consequence of David's census command.
In 2 Samuel 3:10, 'from Dan to Beersheba' defines David's kingdom — the same territory he orders counted here.
2 Samuel 8:16 identifies Joab as commander of the army, confirming the same role he holds here.
In 2 Samuel 17:11, Ahithophel uses 'from Dan to Beersheba' to describe all Israel — the same phrase David uses for the census.
In 2 Samuel 20:23, Joab is named commander of the army — the same Joab David commands to conduct the census here.
1 Chronicles 21:2 is the parallel account of David's census command — the same event recorded in different books.
Exodus 30:12 requires a ransom when numbering to avert plague — David's census omitted this, resulting in the plague.
In Judges 20:1, 'from Dan to Beersheba' indicates the whole nation — the same idiom David uses here.