And it certainly does undermine the credibility of the 'indoctrination' argument.
If it does then take that up with your fellow believers who are fighting tooth and nail for the continuation of the 'indoctrination' and claiming that removing it would destroy the church.
I'm happy to have a talk about some of the hard bits in the Bible, because I'm committed to grappling with the Bible as a whole. And I'm committed to using the best scholarly tools available for doing so.
You mean we say "look it's all about brutal murder and abuse. It tells you that psychotic behaviour is normal and expected" and you say 'well according to this learned paper all those bits are metaphorical but it goes back to being literal for verse 12 and 13 and then 14 onwards is metaphorical'
Think I'll pass today 
In the case of the flood I hope you know that people say to kids "God DID this" and don't say "God did NOT do this, but it's a nice story".
I have met lots of Christians you know who dismiss the whole OT on the grounds that Jesus swept it away. Apart of course from the 10 commandments and the bit where it says kill all the gay people. Those are obviously literal and applicable.
consensus of scholarly opinion is that this story is part of the section of Genesis which takes place in primeval time; the stories are myths not history
Tell that to the large numbers of Christians around the world whose devout prayers constantly confirm to them that it is all true and happened just a few thousand years ago. How can god be so mean as to purposely deceive them when he considerately allowed you to guess the true version.
As the Bible is a set of sacred stories written over a long period of time by different authors, which have been edited and re-edited, rather than an ethics manual or rule book,
Some religious people believe that the ten commandments are quite important and many say that the bible is the source of all morals.