Although some people believe that Adam’s first wife was a demon called Lilith who later rebelled and left Eden before God created Eve from Adam’s ribs, the Lilith story is yet to have relevant scriptural backings, so Adam’s first wife was Eve.
The Lilith story doesn’t exist in any scripture of the abrahamic regions, it started as a myth in ancient Babylon which depicts Lilith as demons that hunt babies.
It found its way into Jewish traditional story in the middle ages were Lilith gradually began to be portrayed as the first wife of Adam.
Some use the first account of creation in Genesis 1 to support their argument of Lilith’s place in Adam’s life.
“So God created humankind in his image, in the image of God he created them; male and female he created them”
The above is an account from Genesis 1:27 which some commentators think referred to a woman different from the one (Eve) mentioned in Genesis 2:7, 21–22 quoted below
“Then the Lord God formed man from the dust of the ground, and breathed into his nostrils the breath of life; and the man became a living being. … So the Lord God caused a deep sleep to fall upon the man, and he slept; then he took one of his ribs and closed up its place with flesh. And the rib that the Lord God had taken from the man he made into a woman and brought her to the man”
They believe that the first woman was created from dust the same way God created Adam. This made her feel equal to Adam thus causing a surbodination turtle. She uttered the infennable word and left the garden.
Trying to put a meaning to this supposed different wife of Adam, they chose Lilith to fill the void in the story.
But the simple fact is that the two accounts referred to the same woman (Eve). Just that the account in Genesis is summarised and straight forward while the second one is a detailed version of how Eve, the woman mentioned in Genesis 1:27 was actually created.
Adam only had one wife; Eve. Lilith was a character that was created to prove a point whose basis came from ancient legends.