The man has become one of us to know good and evil.
Now, before he eats from the tree of life and lives forever....
23 So God expelled Adam from the garden of Eden, and installed cherubim with flaming swords to guard access to the tree of life.
A few more words about this episode
She gave some to her husband, and he ate it. (3:6)
In Gen 2:17, God said that if Adam eats from the tree of the knowledge of good and evil, then the day that he does so, he will die. But Adam ate the forbidden fruit and yet lives for another 930 years (Gen 5:5).
Who told you that you are naked? (3:11)
God figures out that Adam had eaten from the tree of knowledge (How else could he know he was naked?)
The woman you gave me (3:12)
Adam blames "the woman" for giving him the fruit. He doesn't even know her name. (He gives herh a name in verse 20.)
Because you listened to your wife (3:17)
God punishes Adam for listening to his wife by cursing the ground, making thorns and thistles grow, to make it hard for him to grow food. Before this, according to the Genesis story, plants had no natural defenses. The rose had no thorn, cacti were spineless, and nettles had no sting. Foxgloves, oleander, and milkweeds were perfectly safe to eat.