Another series of contradictions
The Qur'an contains contradictory statements about the religion of the Egyptians at the time of Moses. Here one example:
According to Surah 7:127 the Egyptians worshipped many gods.
According to Surah 28:38 the Pharaoh was the only god of the Egyptians.
There is nothing within the context itself to suggest that the verse shouldn’t be taken literally. Egyptians worshipped many gods, and they built plenty of temples dedicated to those individual gods. That there supposedly was a (comprehensive) "divine principle" that was incorporated in the Pharaoh seems to be an invention of Muslims.
There are plenty of problems and contradictions associated with the various Pharaoh stories in the Qur'an (cf.  , ,  , , , , , , , , , , ).
Here, we want to discuss something that may not be so readily obvious when reading the Qur'an, but carefully comparing a number of passages will lead to the conclusion that according to the Qur'an the Pharaoh reigning at the birth of Moses is still in power at the time of the Exodus, when Moses is an old man. The Torah specifies this to be some eighty years later. The Torah also states explicitly that these are different Pharaohs.
This poses a double problem for the Muslims. This mistaken opinion of the author of the Qur'an contradicts the Torah, and it will be very difficult for Muslims to find any Pharaoh in history whose life span and time of government is in harmony with the quranic understanding.
The generally accepted theory appears to be that Moses(P) lived during the reign of at least two kings, Rameses II and his successor Merneptah. The Pharaoh Rameses II died while Moses(P) was in exile in Midian (NW Arabia)