In II Samuel 24:1 it says “The anger of the LORD burned against Israel, and it incited David against them to say, ‘Go, number Israel and Judah.'” This decision by King David led to punishment by God upon the people. There are many questions, perhaps rightly so, about this episode, but what should be instructive to us presently is that this verse attributes the cause of David’s decision to GOD, who incited him to do what he did regarding the census. God was angry with the people, so He sought an occasion for David to make a poor decision, which would bring punishment upon them.
Among other things, this reflects again upon the concept that people generally get the kind of leadership they deserve. (See previous devotions on Psalm 125:3 here, and I Samuel 12:14 here)