Go back to ancient Mesopotamia, whence Satanism was transmitted to western Europe.
The relevant figure of Satanism is not a male, but a female figure.
The male figure - Satan, Baal, Lucifer, and so on - is a subordinate figure; the female principle of evil is pre-dominant.
Hence, Satan's mother, the "Whore of Babylon," known otherwise as the Chaldean Ishtar, the Caananite Astarte, Isis, Venus, or the Phrygian Cybele.
The ritual of the priestesses of Ishtar was an obscene "religious service" which concluded with the priestesses' fornicating with the congregation.
full article here