Apep

Apep (/ˈæpɛp/ or /ˈɑːpɛp/; also spelled Apepi or Aapep) or Apophis (/ˈæpəfɪs/; Ancient Greek: Ἄποφις) was the ancient Egyptian deity who embodied chaos (ı͗zft in Egyptian) and was thus the opponent of light and Ma'at (order/truth). He appears in art as a giant serpent. His name is reconstructed by Egyptologists as *ʻAʼpāp(ī), as it was written ꜥꜣpp(y) and survived in later Coptic as Ⲁⲫⲱⲫ Aphōph.[1] Apep was first mentioned in the Eighth Dynasty, and he was honored in the names of the Fourteenth Dynasty king 'Apepi and of the Greater Hyksos king Apophis.

Ra was the solar deity, bringer of light, and thus the upholder of Ma'at. Apep was viewed as the greatest enemy of Ra, and thus was given the title Enemy of Ra, and also "the Lord of Chaos".

Apep appears to be of the same realm as Seth and an opposing force to Ra but also in a power struggle with Seth