Sethian Gnostic — Apocryphon of John
Apocryphon of John, NHC II,1
Sophia produces a being without the agreement of her consort. The resulting lion-faced serpent, Yaldabaoth, is removed from the higher realm. He generates rulers and declares himself the only god, unaware of the greater divine reality from which his power derives.
This creator story reverses biblical claims rather than agreeing with them; Yaldabaoth is not presented as a Kabbalistic sefirah.
Read the source