According to the Bible, Hebrews were treated as slaves in Ancient Egypt. They were being treated like that because Pharoah was scared there were too many of them and they would try to take over. So he had all boys under two killed and everyone else became slaves. However, there are no artifacts or records in Egypt that they were ever in Egypt, let alone in the vast numbers the Bible said.
The Israelites (Hebrews) at first enjoyed a prosperous period in Egypt (Genesis 47:27), since the Egyptians were grateful to Joseph (a leading Israelite) for having enabled them to survive a famine (Genesis ch.41).Later, the Israelites were enslaved by the Egyptians (Exodus ch.1), with backbreaking labor and cruel decrees (ibid). By the time of the Exodus, many of the Israelites had given up hope (Exodus ch.6).
Is there evidence of the Exodus narrative?
The Ipuwer papyrus describes Egypt's experiencing the Plagues: "Pestilence is throughout the land....the river is blood, death is not scarce...there is no food...neither fruit nor herbs can be found...barley has perished...all is ruin...the statues are burned" (Professor John van Seters, Journal of Egyptian Archaeology no. 50). The plagues were also described by ancient historians, including Herodotus and Diodorus. The Exodus is mentioned by Strabo, Berosus, Artapanus, Numenius, Justin, and Tacitus.
But in any case, few nations are content to record embarrassing setbacks honestly. Even today, British and American textbooks describe the American Revolution in very different ways.
An example of the above principle:
The destruction of Sennacherib's army at the walls of Jerusalem was denied by secular theorists, because the Assyrians made no mention of it. But then it was found that Berosus and Herodotus both state that Sennacherib's military campaign in Judea ended in plague and defeat. It should not surprise us that the Assyrians themselves didn't record their own losses.
It is only the Hebrew Bible, because of its Divine origin, that exposes the faults of its own people and even magnifies them.
In no other religious text can one find such openness. None of the Israelites were immune to strong criticism: Abraham (Genesis 16:5), Reuben (Gen.ch.35), Simeon and Levi (Gen.ch.34 and 49), Judah (Gen.ch.38), Joseph's brothers (Gen.ch.37), Moses (Numbers ch.20), Aaron (Exodus 32:2-4), Samson (Judges 14:1-3), Eli's sons (1 Samuel 2:12), Samuel's sons (1 Samuel 8:1-3), Saul (1 Samuel ch.15), David (2 Samuel ch.11-12), Solomon (1 Kings ch.11), and many others.