You raise a good point, the allegory was a means of conveying wisdom amongst uneducated (relatively) populations. — Punshhh
What interests me is that the wisdom shared in the Adam and Eve story is credibly claimed to be of high quality. It depends of course on how one interprets that story, and there are many different interpretations, and no way to know for sure what meaning the original authors intended. That disclaimed, we can explore further.
PERSONAL: On the personal level of every day experience we can see that most of the time we are focused not on reality, but on our thoughts about reality. From the perspective of the story, we have eaten the apple of knowledge and are then banished from the real world Eden and confined to a significant degree to a much smaller arena of our own invention, the conceptual realm. We rule like gods over this conceptual realm between our ears, but it is a very small realm in comparison to "God's kingdom" ie. the real world.
SOCIAL: It's not hard to see that our relationship with knowledge is causing the modern world to careen towards some kind of coming Biblical scale calamity. From the perspective of the Genesis story, we have eaten the apple of knowledge and are about to expel ourselves from the Garden of Eden.
If one is willing to entertain such an interpretation of the Genesis story, we can ask how ancient authors could so accurately predict the future of humanity. I don't think we need god claims to explain this.
My theory is that the ancient authors had a profound understanding of the fundamental human condition, perhaps because they lived out in the desert in a tent and there was nothing else to do?
Point being, human beings haven't really changed much in 3,000 years so if one understands the human condition it should be possible to generally predict where that path will lead, even if one is unable to predict details such as climate change, nuclear weapons etc.
So, one can reasonably decline the fairy tale container the story comes in, but it might be a mistake to throw the insight baby out with the fairy tale bath water.
Instead of tossing the teachings of our Judeo-Christian heritage aside with a lazy sweep of the hand, it might be more rational to work on translating the teachings out of fairy tale stories in to other forms which are more accessible to modern audiences.
Again, the paradigm here is art, not science. A novel can be interpreted in many different ways, and there is no way to definitely settle the question of which interpretation is best. That doesn't automatically equal the novel being crap.
A good philosophy professor will not tell you what to think, but will instead feed you questions that cause you to do your own thinking. Art, and religion, can be like that.