10 And David's heart smote him after he had numbered the people. And David said to Jehovah, I have sinned greatly in what I have done; and now, I beseech thee, Jehovah, put away the iniquity of thy servant; for I have done very foolishly. 11 And when David arose in the morning, the word of Jehovah came to the prophet Gad, David's seer, saying, 12 Go and say to David, Thus saith Jehovah: I impose on thee three [things]; choose one of them that I may do it unto thee. 13 And Gad came to David, and told him, and said to him, Shall seven years of famine come to thee in thy land? or wilt thou flee three months before thine adversaries while they pursue thee? or shall there be three days' pestilence in thy land? Now be aware and consider what word I shall bring again to him that sent me. 14 And David said to Gad, I am in a great strait: let us fall, I pray thee, into the hand of Jehovah; for his mercies are great; but let me not fall into the hand of man.

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

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.