The Peratic Heresy
They denominate themselves, however, Peratæ, imagining that none of those things existing by generation can escape the determined lot for those things that derive their existence from generation.
…
For they suppose little Egypt to be body, and that it crosses the Red Sea—that is, the water of corruption, which is Cronus—and that it reaches a place beyond the Red Sea, that is, generation; and that it comes into the wilderness, that is, that it attains a condition independent of generation, where there exist promiscuously all the gods of destruction and the God of salvation. Now, he says, the stars are the gods of destruction, which impose upon existent things the necessity of alterable generation. These, he says, Moses denominated serpents of the wilderness, which gnaw and utterly ruin those who imagined that they had crossed the Red Sea. To those, then, he says, who of the children of Israel were bitten in the wilderness, Moses exhibited the real and perfect serpent; and they who believed on this serpent were not bitten in the wilderness, that is, (were not assailed) by (evil) powers. No one therefore, he says, is there who is able to save and deliver those that come forth from Egypt, that is, from the body and from this world, unless alone the serpent that is perfect and replete with fulness. … This serpent, he says, is the power that attended Moses, the rod that was turned into a serpent. The serpents, however, of the magicians—(that is,) the gods of destruction—withstood the power of Moses in Egypt, but the rod of Moses reduced them all to subjection and slew them. This universal serpent is, he says, the wise discourse of Eve. This, he says, is the mystery of Edem, this the river of Edem; this the mark that was set upon Cain, that any one who findeth him might not kill him. This, he says, is Cain, whose sacrifice the god of this world did not accept. The gory sacrifice, however, of Abel he approved of; for the ruler of this world rejoices in (offerings of) blood. …This, he says, is that which has been declared: “In the same manner as Moses lifted up the serpent in the wilderness, so also must the Son of man be lifted up.” According to the likeness of this was made in the desert the brazen serpent which Moses set up. Of this alone, he says, the image is in heaven, always conspicuous in light.
…
Concerning this, he says it has been declared: “In the beginning was the Word, and the Word was with God, and the Word was God. This was in the beginning with God, all things were made by Him, and without Him was not one thing that was made. And what was formed in Him is life.” And in Him, he says, has been formed Eve; (now) Eve is life. This, however, he says, is Eve, mother of all living, —a common nature, that is, of gods, angels, immortals, mortals, irrational creatures, (and) rational ones. For, he says, the expression “all” he uttered of all (existences). And if the eyes of any, he says, are blessed, this one, looking upward on the firmament, will behold at the mighty summit of heaven the beauteous image of the serpent, turning itself, and becoming an originating principle of every (species of) motion to all things that are being produced.
— The Refutation of All Heresies V.XI
According to them, the universe is Father, Son, (and) Matter; (but) each of these three has endless capacities in itself. Intermediate, then, between the Matter and the Father sits the Son, the Word, the Serpent, always being in motion towards the unmoved Father, and (towards) Matter itself in motion. And at one time he is turned towards the Father, and receives the powers into his own person; but at another time takes up these powers, and is turned towards Matter. And Matter, (though) devoid of attribute, and being unfashioned, moulds (into itself) forms from the Son which the Son moulded from the Father. But the Son derives shape from the Father after a mode ineffable, and unspeakable, and unchangeable; (that is,) in such a manner as Moses says that the colours of the conceived (kine) flowed from the rods which were fixed in the drinking-troughs. And in like manner, again, that capacities flowed also from the Son into Matter, similarly to the power in reference to conception which came from the rods upon the conceived (kine). And the difference of colours, and the dissimilarity which flowed from the rods through the waters upon the sheep, is, he says, the difference of corruptible and incorruptible generation. As, however, one who paints from nature, though he takes nothing away from animals, transfers by his pencil all forms to the canvas; so the Son, by a power which belongs to himself, transfers paternal marks from the Father into Matter.
No one, then, he says, can be saved or return (into heaven) without the Son, and the Son is the Serpent. For as he brought down from above the paternal marks, so again he carries up from thence those marks roused from a dormant condition … This, he says, is what is spoken: “I am the door.” And he transfers (those marks), he says, … as the magnet (attracting) the iron and not anything else, or just as the backbone of the sea falcon, the gold and nothing else, or as the chaff is led by the amber. In this manner, he says, is the portrayed, perfect, and consubstantial genus drawn again from the world by the Serpent; nor does he (attract) anything else, as it has been sent down by him. For a proof of this, they adduce the anatomy of the brain, assimilating, from the fact of its immobility, the brain itself to the Father, and the cerebellum to the Son, because of its being moved and being of the form of (the head of) a serpent. And they allege that this (cerebellum), by an ineffable and inscrutable process, attracts through the pineal gland the spiritual and life-giving substance emanating from the vaulted chamber (in which the brain is embedded). And on receiving this, the cerebellum in an ineffable manner imparts the ideas, just as the Son does, to matter; or, in other words, the seeds and the genera of the things produced according to the flesh flow along into the spinal marrow.
— The Refutation of All Heresies V.XII