Verses 1-5: The Provocation and Census. Satan incites David to number Israel, and despite Joab's warnings, David commands a census, which is completed and reported.
Verses 6-7: God's Displeasure and Judgment. God is displeased with the census and brings judgment upon Israel.
Verses 8-14: David's Repentance and God's Offer of Punishment. David confesses his sin and is given a choice of three punishments by God through the prophet Gad. David chooses to fall into God's hands, leading to a deadly plague.
Verses 15-17: The Angel's Judgment and David's Intercession. An angel of the Lord is sent to destroy Jerusalem but is stopped by God. David pleads for mercy on behalf of the people.
Verses 18-25: The Altar at Ornan's Threshing Floor. God commands David to build an altar on Ornan's threshing floor. David insists on paying full price for the site, emphasizing the costliness of worship.
Verses 26-30: Sacrifice and Divine Response. David offers sacrifices, God answers by fire, and the angel ceases his destruction. The chapter closes noting David's fear of approaching the tabernacle at Gibeon due to the angel's sword.