10 But afterward, David was stricken to the heart because he had numbered the people. David said to the Lord, "I have sinned greatly in what I have done. But now, O Lord, I pray you, take away the guilt of your servant; for I have done very foolishly." 11 When David rose in the morning, the word of the Lord came to the prophet Gad, David's seer, saying, 12 "Go and say to David: Thus says the Lord: Three things I offer you; choose one of them, and I will do it to you." 13 So Gad came to David and told him; he asked him, "Shall three years of famine come to you on your land? Or will you flee three months before your foes while they pursue you? Or shall there be three days' pestilence in your land? Now consider, and decide what answer I shall return to the one who sent me." 14 Then David said to Gad, "I am in great distress; let us fall into the hand of the Lord, for his mercy is great; but let me not fall into human hands." 15 So the Lord sent a pestilence on Israel from that morning until the appointed time; and seventy thousand of the people died, from Dan to Beer-sheba. 16 But when the angel stretched out his hand toward Jerusalem to destroy it, the Lord relented concerning the evil, and said to the angel who was bringing destruction among the people, "It is enough; now stay your hand." The angel of the Lord was then by the threshing floor of Araunah the Jebusite. 17 When David saw the angel who was destroying the people, he said to the Lord, "I alone have sinned, and I alone have done wickedly; but these sheep, what have they done? Let your hand, I pray, be against me and against my father's house."

Matthew Henry's Commentary on 2 Samuel 24:10-17

Commentary on 2 Samuel 24:10-15

(Read 2 Samuel 24:10-15)

It is well, when a man has sinned, if he has a heart within to smite him for it. If we confess our sins, we may pray in faith that God would forgive them, and take away, by pardoning mercy, that sin which we cast away by sincere repentance. What we make the matter of our pride, it is just in God to take from us, or make bitter to us, and make it our punishment. This must be such a punishment as the people have a large share in, for though it was David's sin that opened the sluice, the sins of the people all contributed to the flood. In this difficulty, David chose a judgment which came immediately from God, whose mercies he knew to be very great, rather than from men, who would have triumphed in the miseries of Israel, and have been thereby hardened in their idolatry. He chose the pestilence; he and his family would be as much exposed to it as the poorest Israelite; and he would continue for a shorter time under the Divine rebuke, however severe it was. The rapid destruction by the pestilence shows how easily God can bring down the proudest sinners, and how much we owe daily to the Divine patience.

Commentary on 2 Samuel 24:16-17

(Read 2 Samuel 24:16-17)

Perhaps there was more wickedness, especially more pride, and that was the sin now chastised, in Jerusalem than elsewhere, therefore the hand of the destroyer is stretched out upon that city; but the Lord repented him of the evil, changed not his mind, but his way. In the very place where Abraham was stayed from slaying his son, this angel, by a like countermand, was stayed from destroying Jerusalem. It is for the sake of the great Sacrifice, that our forfeited lives are preserved from the destroying angel. And in David is the spirit of a true shepherd of the people, offering himself as a sacrifice to God, for the salvation of his subjects.