From the earliest days, there were stories that sneaked into the Bible as the Word of God. Along the line, though, people cut away at them, trying to work out what was written by the divine inspiration of God and what was written by a crazy person with a penchant for Jesus fan fiction.
Some of these stories are completely insane, and if they had made it into the Bible, Christianity would be a very different religion today.