Arrogantly and foolishly, David imposes a census on Israel and Judah. As punishment for this sinful action, the Lord sends a pestilence on the land. David builds an altar and offers a sacrifice to the Lord, and the Lord ends the plague.
BibleGateway: 2 Samuel 24 ESV Text: 2 Samuel 24 2 Samuel 24 (Listen) David’s Census 24:1 Again the anger of the LORD was kindled against Israel, and he incited David against them, saying, “Go, number Israel… Arrogantly and foolishly, David imposes a census on Israel and Judah. As punishment for this sinful action, the Lord sends a pestilence on the land. David builds an altar and offers a sacrifice to the Lord, and the Lord ends the plague.