The First five books of the bible was written by a Egyptian adopted Jew. His name was Moses.The Egyptian religions seem to predate Judaism.
Remember the golden calf? Baal?
There were jews long before they were slaves in Egypt.
So the bible says, however no one wrote back then....