Yep, he was a high ranking court magician, and when he led the Hebrews into the Sinai after cataclysm hit Egypt, he took the Egyptian pantheon and adapted their Trinity of Isis, Ra, and Osiris and added their High God "El" to create the fiction of Israel. Just like Joseph Smith took his Hermetic/Kabbala/Masonic/Biblical knowledge, and created the giant psy-op of Mormonism so he could marry 40 wives and fuck child brides.
It's all built on the imagery seen by the survivors of the last worldwide cataclysm.