Satan rose up against Israel and incited David to take a census of Israel.
So David said to Joab and the commanders of the troops, "Go and count the Israelites from Beersheba to Dan. Then report back to me so that I may know how many there are."
-------
Again the anger of the LORD burned against Israel, and he incited David against them, saying, "Go and take a census of Israel and Judah."
From
2 Samuel 24: 1
and
I Chronicles 2 1:1
Let he without sin cast the first stone...there is question about should this even be in the bible...and the earliest manuscripts of John, have this story...in some cases it does not even show up till the 12 century...Most likey just was added by a scribe who thought it fit well...
http://www.npr.org/player/v2/mediaPlayer.html?action=1&t=1&islist=false&id=5052156&m=5052159
for much of its history...the bible was done by hand...by people who had there own ideas, and there own desires of what they would like it to say...and those copys are copied by others...who may have said had there own issues..and sometimes actually changed others that they where coping..not out of want, but out of the idea they felt that the guy before did it wrong so they felt there where correcting it...
the man who was a Leper, who today God felt compassion and he touched him and healed him
Early text say...he got Angry....
now scholars actually think that the Angry is the wrong one, even though its older...and scribes seeing that this did not make sense...they changed it to compassionate...
the inverview audio I posted does a better job, and the book even better of talking about this.though just so you know, its about a half hour long.