The topic of Lilith is a very interesting story.
According to Jewish legend, Lilith was the first woman created by God. This originated because of Genesis 1:27 -
"And God went on to create the man in his image, in God’s
image he created him; male and female he created them." NWT
Eve doesn't show up into the picture until Genesis 2:22. To explain Genesis 1:27 "male and female he created them," indicating that God created both a man and a woman from the Earth, the Jews created Lilith - Adam's first wife.
As the story goes, the "marriage" between Adam and Lilith ended real quick over an argument of who was going to be "on top." Lilith leaves Adam and moves into a cave next to the Red Sea. She starts having children with an angel and these kiddos are demons.
Adam, being lonely, whines to God. God sends three angels to force Lilith back to Adam. These three angels threaten Lilith that if she doesn't go back to Adam they will drown 100 of her offspring everyday. Lilith responds by saying she is going to kill every male child 8 or younger and every female under 20.
Lilith and the angels make a compromise - Lilith doesn't have to go back to Adam in exchange that whenever the three angels' names are invoked by the parents of a child she will not kill that child. This in turn created the tradition of inscribing the three angels' names on amulets and hanging them over children's beds.
It is also interest to note that many renaissance artists depicted Lilith as the serpent in the Garden of Eden and that Lilith was the one who convinced Eve to partake of the fruit of the Tree of Knowledge.