There are layers of edits that you can tease out with careful reading, and they can be supported by archeological evidence from sites all around the near east.
It is not remotely controversial that the Hebrews/Israelites/Canaanites/Judeans were originally polytheistic, with a pantheon built around Canaanite gods (El, Ashera, etc), just like all of their neighbors and then gradually became henotheistic (our god is the best god), and then finally monotheistic (there is only one god). Pure monotheism was a very late development, and a lot of the conflicts in the bible is straightforwardly interpreted as describing a conflict between Yahwist henotheism and traditional near-eastern polytheism. Even just reading the very first part of Genesis, there are two creation stories with very clear signs of a pantheon of gods.
There are also completely retellings of polytheistic myths in the Bible which are basically a find-replace of Ba'al, etc, with either "El" or "Yahweh" or both.