2 Samuel 24:10

New American Standard Bible (NASB)
Now David’s heart [e]troubled him after he had numbered the people. So David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please [f]take away the iniquity of Your servant, for I have acted very foolishly.”

Read 2 Samuel 24:10 in other translations