Arcana Coelestia #285
285. The sixth and seventh generations' being separated from knowledge of good and truth and being left to their own foul loves and persuasions and the consequent provision made to prevent their profaning the holy things of faith, which is meant by 'being cast out and causing cherubim with the flame of a sword to dwell there to guard the way to the tree of life, 1 is dealt with in verse 24.
V:
1. literally, of lives
Genesis 3:24
24
So 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.