Due to the misunderstandings and disappointments related to Lilith, God decided to create a second wife for Adam– Eve.
Less romantic pictures of Lilith appeared in the mind of James Joyce, who called her the patron of abortions. Joyce pushed Lilith into the feminist philosophy, and started the process of adopting her as a goddess of independent women in the 20th century. When women started to receive more rights, they started to disagree with the man-concentrated vision of the world, including the Biblical story about the beginning of the life on Earth. The name of Lilith appears as a national literacy program in Israel and the title of a Jewish women's magazine. The ancient Sumerian legendary female demon is one of the most popular topics in feminist literature related to ancient mythology. Researchers still discuss if she was created as a real demon, or as an untrue warning of what may happen if women receive more power.
So, as we see the story of the first wife of Adam from the Hebrew Myths is based on the tale of the demon or we can say the dark goddess of Sumerians and they added to her story a lot of confusing events. In my point of view all of this it's just a creation of the human mind but maybe it's based on a real woman or figure who has this personality and like all the tales, every place has it owe version (the things they added), in the end we don't know the real story.
From : www.ancient-origins.net/myths-legends/lilith-ancient-demon-dark-deity-or-sex-goddess-005908