Genesis 3:24 says, “He drove out the man, and at the east of the garden of Eden he placed the cherubim and a flaming sword that turned every way to guard the way to the tree of life.”
"flaming sword" (God's Righteous Word) is guarding the goal of the test, Life
The cherubim hide Life so God's Righteous Word is the way to find it.
The Jews were given Law of the flesh to find Life via Righteousness
The Christians were given Law of the heart to find Life via Righteousness