Satan decided to cause the Israeli people to have trouble. So he incited David to find out how many men in Israel were able to be in the army.
Read & study T4T 21:1And Satan stood up against Israel, and moved David to number Israel.
Read & study ASV 21:1