Earlier quoted context omitted.
I think you may be confounding two related theories, from what I learned. There is little to no evidence for the Israelites ever being in Egypt, though there was a brief dynastic period (known to ancient historians as Hyksos, IIRC) of Canaanite rulers in Egypt, ostensibly as a brief post-war outcome, and it is possible but without evudence that some Israelites migrated during that time. The "Sea Peoples", a term itse…
This is fascinating to me. From the Wikipedia page, the story of the Hyksos and how they were driven out of Egypt sounds very similar to the book of Exodus. Even the words Hyksos and Exodus sound similar.
That comes under the heading "Wacky Coincidences in Liguistics". One means "rulers of foreign lands" in a an older Afro-Asiatic language (a precursor to Coptic); the other is an English retention of a Latin adaptation of a Greek word meaning "the road/path out" (exodos) from the book titles in the Septuagint, all Indo-European. It's related to exit (literally, "he goes out").