John Gills Exposition of the Bible Commentary - 2 Samuel 24:17
And David spake unto the Lord ,.... In prayer; he and the elders of Israel being clothed in sackcloth, and fallen on their faces, he prayed, not unto the angel, but to Jehovah that sent him; see 1 Chronicles 21:16 , when he saw the angel that smote the people ; in the air over Jerusalem, with a drawn sword in his hand, which made him appear terrible: and said, lo, I have sinned, and I have done wickedly ; in numbering the people: but these sheep, what have they done ? he looked... read more
Matthew Henry's Complete Commentary - 2 Samuel 24:10-17
We have here David repenting of the sin and yet punished for it, God repenting of the judgment and David thereby made more penitent. I. Here is David's penitent reflection upon and confession of his sin in numbering the people. While the thing was in doing, during all those nine months, we do not find that David was sensible of his sin, for had he been so he would have countermanded the orders he had given; but, when the account was finished and laid before him, that very night his conscience... read more