Genesis says God sent the man out to work the ground and prevented access to the tree of life Genesis 3:22–24. Cherubim and a flaming sword are placed to guard the way to the tree of life.
In Genesis 3:20–24 the story moves from immediate aftermath to decisive change. The man names his wife “Eve,” linking her to future human life. Yahweh God provides clothing made from animal skins, addressing their exposed condition. God then speaks about the danger of humans taking from the tree of life and living forever. This unit closes the Eden narrative that began with creation and placement in the garden (Genesis 2:7), followed by the command about the trees and the human choice to eat from the tree of the knowledge of good and evil (Genesis 2–3).
Genesis 3:20–24 finishes the Eden story by showing three linked movements: naming, covering, and removal. The man names his wife “Eve” and the text connects her name to future human life (“mother of all living”). God then provides durable clothing—garments made from animal skins—and personally clothes the couple.
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with Genesis 3:22-24, then read the surrounding section so the answer stays connected to the passage's flow.
22Yahweh God said, "Behold, the man has become like one of us, knowing good and evil. Now, lest he put forth his hand, and also take of the tree of life, and eat, and live forever..."
23Therefore Yahweh God sent him forth from the garden of Eden, to till the ground from whence he was taken.
24So he drove out the man; and he placed Cherubs at the east of the garden of Eden, and the flame of a sword which turned every way, to guard the way to the tree of life.