Lilith was originally a storm demon known as "Lilitu" in ancient Mesopotamian myth around 3000 BC and she was thought to have been the cause of disease, illness, and death. She later appears as a nocturnal demon in Jewish lore and the queen of demons.
Lilith was the first wife of Adam, however she was cast out of the Garden of Eden for her sinful ways. This is because Lilith demanded equality with Adam and, failing to acquire it, left him in anger. After the leave, she encountered the angel known as Samael, who lusted for her and she did to him when he treated her as both equal and superior despite his status. And from their union she birthed many demonic beings.
Adam in return complained to God that his wife had deserted him. God sent three angels to take Lilith back to Eden, and when the angels found her in the Red Sea they threatened her with the loss of 100 of her demon children every day unless she returned to Adam.
She refused and was punished with having all of her children slain. Lilith took revenge by launching a reign of terror against women in childbirth, newborn infants, particularly males, and men who slept alone. She was forced, however, to swear to the three angels that whenever she saw their names or images on an amulet, she would leave infants and mothers alone.
After the War in Heaven, God castrated Samael and imprisoned him. Lilith later then became the bride of Asmodeus and with him she bore the Lilim who would later become the Succubi. And soon after, she became the first and possibly only Queen of Demons as well as the queen of the Inferno itself. Due to Samael's imprisonment, she took to Asmodeus instead and as a result they were believed to procreate demonic offspring endlessly and spread chaos at every turn.
Many disasters were blamed on both of them, causing wine to turn into vinegar, men to be impotent, women unable to give birth, and it was Lilith who was blamed for the loss of infant life. The presence of Lilith and her cohorts were considered very real at this time. Two primary characteristics are seen in these legends about Lilith: Lilith as the incarnation of lust, causing men to be led astray, and Lilith as a child-killing witch, who strangles helpless neonates.