David's numbering of Israel reveals a spiritual interplay between God and Satan. According to I Chronicles 21:1, Satan moved David, while II Samuel 24:1 states God, in His anger, moved him. The Hebrew satan means adversary, and both may have acted together, as in Job and I Kings 22, where God permits rebellious spirits to accomplish His purposes. The census itself was not sinful, for Israel had been numbered before. David's sin lay in his motivation, counting military strength rather than trusting God's Spirit, revealing self-reliance and possible ambition already in his heart. Because David was king, his lapse carried greater accountability, bringing a plague that killed seventy thousand. This shows that position, motivation, and knowledge affect how God evaluates sin. Also see sermons and articles about Census.
2 Samuel 24:1-2 Again the anger of the LORD was aroused against Israel, and He moved David against them to say, 'Go, number Israel and Judah.' So the king said to Joab the commander of the army who was with him, “Now go throughout all the tribes of Israel, from Dan to Beersheba, and count the people, that I may know the number of the people.”
1 Chronicles 21:1-2 Now Satan stood up against Israel, and moved David to number Israel. So David said to Joab and to the leaders of the people, “Go, number Israel from Beersheba to Dan, and bring the number of them to me that I may know it.”
2 Samuel 24:4 Nevertheless the king’s word prevailed against Joab and against the captains of the army. Therefore Joab and the captains of the army went out from the presence of the king to count the people of Israel.