Just as an aside, today I learned that the Quran says that Joseph was sold by his brothers for "
a few dirhams". The problem is that the dirham was not in use as a currency until about 700 years after Joseph was sold.
I also learned that the Quran tells us that
King David made coats of chain mail, even though that type of armour wasn't invented until the Celts started making it 500 years after David died.
I learned that the Egyptians of Joseph's time supposedly
practiced crucifixion, even though there is no historical record of this.
I learned from the Quran that it was
a Samaritan who led the children of Israel to form and worship a golden calf, even though the Samaritans weren't a people until several hundred years later.
I learned that Haman was actually
a minister of the Pharoah during the time of Moses, and not, as the book of Esther tells us, a minister in the court of the Persian king Ahasuerus, a thousand years later.
So the Quran gets a bunch of historical details really wrong, but at least if doesn't call the king of Egypt by the title everyone else does until it's historically proper to do so.