Some argue that the Bible is contradictory concerning how many years of famine were threatened to David. The argument is that 2 Samuel 24:13 says that David was threatened with seven years of famine, but 1 Chronicles 21:11-12 says that David was threatened with three years of famine. However, there are at least two possible explanations for this alleged contradiction ion the Bible.
So Gad came to David and told him, and said to him, “Shall three years of famine come to you in your land? Or will you flee three months before your foes while they pursue you? Or shall there be three days’ pestilence in your land? Now consider, and decide what answer I shall return to him who sent me.”2 Samuel 24:13
11 So Gad came to David and said to him, “Thus says the Lord, ‘Choose what you will: 12 either three years of famine, or three months of devastation by your foes while the sword of your enemies overtakes you, or else three days of the sword of the Lord, pestilence on the land, with the angel of the Lord destroying throughout all the territory of Israel.’ Now decide what answer I shall return to him who sent me.”1 Chronicles 21:11-12
Here are two possible explanations for the supposed discrepancy between 2 Samuel 24:13 and 1 Chronicles 21:11-12:
In 2 Samuel 24:13, David is ”’asked”’ concerning which option he will choose. In 1 Chronicles 21:11-12, David is ”’told to choose” which option he will take.
Although Scripture does not say this explicitly, it is possible that after David is asked concerning which option he will choose, he prays for mercy, after which a new offer was made, which was three years of famine instead of seven years.
Another option is that there could have been a copyist error. The better-preserved text is 1 Chronicles 21:11-12, so if the discrepancy is the result of a copyist error, the correct reading is more likely to be three years.1
There are some foundational principles that apply to all alleged and apparent contradictions in the Bible. To read more, see Bible Difficulties: Foundational Principles.
To read more answers to alleged and apparent contradictions in the Bible, see “Contradictions” in the Bible Answered.
These books are also excellent resources: