David ordered the leaders of his army to count how many men of fighting age there were. He was not supposed to do this because it showed he did not trust God. God was displeased and offered David three punishments. (See: [[rc://en/tw/dict/bible/kt/trust]])