The Quranic Narrative
Surah 38:23:
Indeed, this is my brother; he has ninety-nine ewes, and I have so much as one ewe; so he said, 'Entrust it to me,' and he overpowered me in speech.
The Surah details an incident where two disputants climb over the wall into David’s private prayer chamber, terrifying him. One man claims he has only one ewe, while his brother has 99 ewes and has pressured him to give up his only one. David instantly judges in favor of the man with one ewe, realizing immediately after that God was testing him. He falls prostrate, repents, and is forgiven.
The Biblical Context (2 Samuel 12)
In the Hebrew Bible, this is not a real legal dispute between two intruders. It is a prophetic parable delivered to David by the Prophet Nathan. David had committed adultery with Bathsheba and arranged for her husband, Uriah the Hittite, to be killed in battle. David had many wives (the 99 ewes), while Uriah had only one beloved wife (the single ewe). Nathan used the parable to trick David into condemning his own actions.
The Metaphorical Blunder:
The Quran takes a brilliant, devastating psychological parable from the Bible and presents it as a literal, physical property dispute where two guys randomly scale a palace wall to complain about livestock.
The Infallibility Bias (Ismah):
Because Islamic theology insists that all prophets are completely free from major sins (Ismah), the text systematically strips away Nathan, Bathsheba, the adultery, and the murder.
Critics argue that by transforming David's profound moral failure and agonizing repentance into a minor error in judicial protocol, the Quran sanitizes ancient history to fit its own later theological dogmas.