The serpent told the woman that they would not surely die because God knows that when they eat from it their eyes would be opened and they will be like God, knowing good and evil.
So when the woman saw that the fruit of the tree was good for food and pleasing to the eye and also desirable for gaining wisdom, she took some and gave it to her husband, who was with her and ate it.