yeah I don't get these verse either. thanks for reminding me. I'll ask the next pastor I come across
2 Samuel 24:10
New King James Version (NKJV)
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.”