2 Samuel 24:2-4 - WEB
2
The king said to Joab the captain of the host, who was with him, Go now back and forth through all the tribes of Israel, from Dan even to Beersheba, and number you the people, that I may know the sum of the people.
3
Joab said to the king, Now Yahweh your God add to the people, however many they may be, one hundred times; and may the eyes of my lord the king see it: but why does my lord the king delight in this thing?
4
Notwithstanding, the king`s word prevailed against Joab, and against the captains of the host. Joab and the captains of the host went out from the presence of the king, to number the people of Israel.
Full Chapter