2 Samuel 24:10 (KJV)
10 And David’s heart smote him after that he had numbered the people. And David said unto the Lord, I have sinned greatly in that I have done: and now, I beseech thee, O Lord, take away the iniquity of thy servant; for I have done very foolishly.
David’s Sin Caused People To Suffer And Die
David has no choice but to call out for mercy, after hearing this news from God, for the Lord God was very upset.