I was recently doing some reading on the story of exodus as well as the Bronze Age collapse. It struck me that they are both attributed to the same century and I was wondering if it is at all possible they the Bronze Age collapse influenced the stories of exodus. The pharaoh of exodus is often considered to have been Ramses the great, who died in 1213 bc, whilst the Bronze Age collapse is commonly said to have been in 1170 bc. This seems pretty close to each other as well as the 10 plagues of Egypt being nods to pestilence, famine and war. 3 important factors that are said to have led to the Bronze Age collapse
More can always be said but u/Antiquarianism addresses this possible connection in this answer here: https://www.reddit.com/r/AskHistorians/comments/gxdy62/was_the_exodus_real/
I think trying to "de-mythologize" someone like Moses is probably interesting as a thought experiment (see their discussion of Haru) but there's no satisfactory way to really say anything definitive. Exodus was written down over 600 years later and incorporates elements that are common to Mesopotamian stories and myths. The details of his birth and being sent down a river are like Sargon of Akkad's, for example. The overall trope of an infant being spared from death and growing up to be someone important is all over the ancient world.
As a bonus, but also related, u/UndercoverClassicist discusses some of the prevailing, modern ideas of the Bronze Age Collapse here: https://www.reddit.com/r/AskHistorians/comments/gu1tj5/did_people_realize_they_were_part_of_a/
The Bronze Age collapse is one of the trickier subjects, in part because evidence really isn't as straightforward as it sounds but people like a nice tidy narrative of widespread societal collapse (kind of like the end of the western Roman empire, a comparison they make in the answer).