I was speaking in general. Though the idea that some "sins" like adultery are found to be deserving of death is more than a little disturbing. However, it does make for a good point to start out with. Taking the mythology literally, believing these things to be factual "laws" and the like lead people down a dangerous road. A road of judgement of others, discrimination, and even hate can blossom. The judgement poured forth from believing in literal interpretations of myth can bring about damage. Just look at how homosexuals are viewed and their fight for equal rights with marriage all because of people's clinging a bible held belief. A specifically chosen one at that as the bible actually defines marriage in many different ways, but as has been seen, people will use it, and the select interpretations from it and chosen passages from it, to justify their needs, wants, and desires, especially when it comes to the judgement and restrictions of others. This is where the "dangerous" comes it quite a bit. Of course, there is always the absurd in it, such as the whale and Jonah, the literal account of Creation and so on that simply are not possible, yet there are those who hold that they are and push that idea that the bible, is again, literal fact. This messes with a child's ability to learn reality from myth, legend from fact, allegory from science. This is an impairment of our children's education and basic learning capabilities.
So, there's just a couple basic ways that taking myth literally is dangerous. Dangerous to people due to discrimination and underlying hatred, and dangerous due to educational impairment.