I’ve been thinking about this quite a bit. For a while I had thought along the lines of Set and Osiris. But I think it’s deeper and more primordial than that. I think it’s about Isis. She has two poles - benevolent mother/grain maiden archetype and crone witch/uncontrolled tyrant.
For a while I thought the Hebrews were set. But Ramses was a Set worshipper. Nor do I see them taking the side of Osiris.
I think Yah is Hephaestus/Kathor who learned to use technology for control. Question is if he’s benevolent or not.