Let's break this down further because the Garden of Eden is fucking weird.
So God has these two people he keeps as naked pets in a garden. He watches them every second of every day.
God tells these people "eat as much fruit as you want, but don't eat the fruit from that tree, or you'll die."
One day a snake tells Eve "God is lying to you, the fruit will make you smart; God wants you to be unquestioning and stupid."
So Eve eats, and realises she's part of some weird nudity cult where she was lied to and taught that the truth is dangerous.
She makes Adam eat and God, (who can see the future by the way) says "you failed my test, despite creating the conditions in which I knew would cause you to fail. Why couldn't you just have just accepted my lies and remained idiots? This is your fault"

I can accept metaphorical truths, but I'd argue that any resemblance of them is coincidental.
There is so much redundant or unnecessary nonsense in the bible, that some of it is bound to line up with some fundamental truth farther down the path of knowledge.
Obviously, whoever wrote genesis was not aware of evolution, and I'm not implying that you are proposing this insinuation as an explanation (it's just an example of what I mean).
Regardless of being unable to un-knowledge ourselves, one of the things I was pointing at was the absurdity of free-will as a concept.
God is supposedly omniscient, he knows the test will fail.
If you want to get metaphorical on that, you could probably spin it in some pretty weird ways.
Regardless, Christians cannot reconcile the literal claim that God is all-knowing from the notion of free-will.