Bible Believer,
As far as I've noted, it depends which version of the KJV Bible you are referring to, to my mind the Authorized or 1611 King James Bible is error free as it is the only Bible that is translated (taken from) directly from the Textus Receptus, whereas ALL other Bible versions are translated from Catholic translations of the Textus Receptus, and so are prone to error to varying degrees.
Bible inerrancy means that The Bible's author is in fact the Holy Spirit (Holy Spirit inspired). God only wrote one Bible.
2 Samuel 24:8-10 reads:
So when they had gone through all the land, they came to Jerusalem at the end of nine months and twenty days. And Joab gave up the sum of the number of the people unto the king: and there were in Israel eight hundred thousand valiant men that drew the sword; and the men of Judah [were] five hundred thousand men. And David's heart smote him after that he had numbered the people. And David said unto the LORD, I have sinned greatly in that I have done: and now, I beseech thee, O LORD, take away the iniquity of thy servant; for I have done very foolishly.
1 Chronicles 21:3-6 reads:
And Joab answered, The LORD make his people an hundred times so many more as they be: but, my lord the king, are they not all my lord's servants? why then doth my lord require this thing? why will he be a cause of trespass to Israel?
Nevertheless the king's word prevailed against Joab. Wherefore Joab departed, and went throughout all Israel, and came to Jerusalem. And Joab gave the sum of the number of the people unto David. And all they of Israel were a thousand thousand and an hundred thousand men that drew sword: and Judah was four hundred threescore and ten thousand men that drew sword.
The reason for the "contradiction" or "inerrancy lies in 1 Chronicles 21:3 and 1 Chronicles 21:6:
Verse 3: And Joab answered, The LORD make his people an hundred times so many more as they be: but, my lord the king, are they not all my lord's servants? why then doth my lord require this thing? why will he be a cause of trespass to Israel?
Verse 6:But Levi and Benjamin counted he not among them: for the king's word was abominable to Joab.
1 Chronicles 21:3 states that God increased or made His people an hundred time as many more as they be (were), (hence 500 000 as opposed to 800 000)Then 1 Chronicles 21:6 clearly states that two tribes, namely Levi and Benjamin weren't counted (in the census), hence 470 000 as opposed to 500 000.
One has to read entire chapters to put Scripture into it's rightful context, not individual scriptures where the meaning can be taken out of context.
God Bless You,
Audrey
2SA 24:9 The census count was: Israel 800,000 and Judah 500,000.
1CH 21:5 The census count was: Israel 1,100,000 and Judah 470,000.