David’s conscience began to bother him because he was counting to see how large his power had grown. In hindsight, David was able to see how pride had blinded him into thinking he was responsible for the kingdom’s prosperity. It’s easy to fall into this thinking when we count our money and attribute excess to our own accomplishments. Be careful to stop pride from growing, since excess is a result of God’s graciousness.
But after he had taken the census, David’s conscience began to bother him. And he said to the LORD, “I have sinned greatly by taking this census. Please forgive my guilt, LORD, for doing this foolish thing.”
~ 2 Samuel 24:10 [NLT]