After David had numbered the troops, his conscience was stricken and he said to the LORD, “I have sinned greatly in what I have done. Now, O LORD, I beg You to take away the iniquity of Your servant, for I have acted very foolishly.”
Jewish Publication Society of America Version (JPS1917) - 2 Samuel 24: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 what I have done; but now, O LORD, put away, I beseech Thee, the iniquity of Thy servant; for I have done very foolishly.'