1 Chronicles 21:7-8

7But God was displeased with this thing, and he struck Israel. 8And David said to God, “I have sinned greatly in that I have done this thing. But now, please atake away the iniquity of your servant, for I have acted very foolishly.”
Copyright information for ESV