King David commits a terrible offense when he takes it upon himself to conduct a census of the people. He took his eyes off of God, lost faith, and suffered serious consequences.
We are often tempted, as David was, to focus on our perceived strengths or weaknesses. God doesn't want us to rely on earthly resources. He wants us to put our trust in Him alone!