2 Samuel 24:10
And David's heart condemned him after he had numbered the people. So David said to the LORD, "I have sinned greatly in what I have done; but now, I pray, O LORD, take away the iniquity of Your servant, for I have done very foolishly."