That's a good point.Agreed. Parables and stories are not lies anymore than Aesop's Fables are a lie. Additionally, some ancient texts, especially the Bible, are more than a religious text. It was often the only book/scrolls possessed by a tribe or village and, therefore gave guidance not in just religion and morality but health (diet) and legal codes.
Immature atheists and other religious haters or abusers refuse to see the overall picture of what life was like in those days. They cherry-pick only the parts that support their narrow POV.
The Torah is certainly chock full of civil laws, ritual codes, and dietary requirements.
I don't think I am ever going too really understand what all the stories in the Hebrew Bible are supposed to mean, because I would have go read the Gemara and the Midrash for the complete interpretation.