The consensus opinion of archaeology is that the entire Pentateuch is fabricated. They can't even prove that Jews were ever enslaved en masse in Egypt.
Well, yeah. When you want to enslave the world to the AI (AKA "God") you've created keep you rich and the poor pacified, you're going to want a back story about your people emerging from slavery so the poor wage slaves believe you're on their side.
It's far easier to create an AI to rip off the poor, and live an easy good life, then it is to create a perfect system that favors everyone. Which is why the AI that rips of the poor is the one that bamboozles the whirled.
The bible is the last great con, or is it Mormonism, the GOP, the USA (which I wish wasn't a lie), or Trump? I get the cons confused.