And again the anger of Jehovah was kindled against Israel, and he moved David against them, saying, Go, number Israel and Judah. 2 Sam 24:1
And Satan stood up against Israel, and moved David to number Israel. 1 Chron 21:1
......Jehovah...moved David... / ....Satan...moved David...
Any comments concerning this seeming discrepancy in the scriptures?
My take on these two accounts of the same event:
The rift between Judah and Israel (northern tribes) that eventually did split the nation after the reign of Solomon was already simmering. David was aware of this, and probably wanted to know if his tribe of Judah had the army to stand against or defeat the Northern Tribes of Israel if need be. The census was all about obtaining military intelligence, and there would be no hiding this fact from the Northern Tribes. Thus the consternation of Joab and David's captains, and why they objected and tried to prevent him from taking this census. To understand this, consider the emphasis/results of the census:
....there were in Israel eight hundred thousand valiant
men that drew the sword; and the men of Judah were five hundred thousand men. 2 Sam 24:9
God moved David, through Satan, to perform the count. As I said, I suspect David already was most likely already wanting to know the strength of the potential armies of both sides. I imagine that performing the census only caused the rift between the two to widen, which in turn caused David to see his sin and realize how wrong he was to perform the census, and it made him very afraid (1 Chron 21:8; 2 Sam 24:10) when he realized how outnumbered his tribe of Judah was . Also remember, “the anger of Jehovah was kindled against Israel” (the Northern Tribes), which was why God moved David against them in the first place. I think it's significant to note that the destruction wrought by the pestilence that ravaged the Northern Tribes ceased before it reached Judah, and the count between the two [potential] armies was probably more on an even keel after the destruction that was wrought by the pestilence was done.
JMHO.