Consider the original audience for the Biblical stories and you may get a better idea why they were written the way they were. We are not the intended audience. The Bible was not written as a history book. Few, if any, ancient documents were ever written to the level of discipline required by modern historians.
The first Pharaoh mentioned by name in the Bible was Shishaq (Sheshonk I), apparently a contemporary of Rehoboam and Jeroboam. Why else wouldn't the Biblical stories of the time of the alleged Exodus include the name of the then current Pharaoh except that a. it wasn't known, and b. the stories themselves were fabrications written, copied, and edited long after the alleged events took place?
Given the documentary evidence of heavy editing between multiple sources (J, E, P and R in Genesis and Exodus) often with contradictory results, it is possible to assume that the Bible no longer can be trusted as an objective historical document. Indeed, it was never intended to be one. Scholarly analysis has shown how different priestly families competed for dominance within the socio-political framework of the Kingdom's of Israel. Each group had stories favorable to their own tradition.
After the Babylonian exile these documents from competing sources were combined into their present form. Some of the editing displayed remarkable skill while other passages are barely comprehensible cut and paste jobs. I would place the Flood account in the former category, while the rebellion of Korah, Dathan, and Abiram definitely goes in the latter.
There is no archeological evidence of a massive emigration of slaves from Egypt. The logistics of the Biblical account are purely fantastical with even the slightest application of logic.
Dave