It would depend on the Bible .
I saw a Catholic Bible in 2001 , he had removed the second commandment . And certainly do not teach the second commandment . But now I have a 50 -year Bible Catholic doses have that command in it .
The King James Bible is an insult to the Bible . King James was a devout Catholic who does not want people to read the Bible themselves. But he could not prevent smuggling in. So he ordered his own made from 400 words ( times each used ) to switch to another word . And that no additional information would be put at the bottom / sides of the pages .
Since then , about 800 other words , times each used , have changed their meanings . When I was young
let me explain the story to which you refer was written after the fact and is a response to the Jews being in exile in Babylon. "How we got here if we are the chosen people", they asked. And just answered your own question by writing a poetic if history is not afraid of what they did wrong and how God answered in their minds who have paid their nation and exiled, their holy city and the temple was in ruins and they all had severe migraine headache for the long journey to Babylon.
You see, the issue was, that's how we have sinned against God. God became angry and responded in a very human way. We do not want to make God angry so do not do those things again.
It's like people used to tell children the coconut to get or to be sold to the rag picker if not good. I think the story is more accurate, but very often the writers took the events and used them for their own purposes, to show how dangerous it can be the Almighty.
If a tsunami wiped out a coastline that could be used as a flood story to show God's wrath. If an earthquake or volcano earth swallowed cities that could be used later in a story saying that people bother God.
One may recall that there were no newspapers or correspondents in those days to write things. Take the story of the Exodus, when God hardened Pharaoh's heart. Who knows? Witnesses or anyone in the neighborhood who told a bunch of other people? No, no one would know that Pharaoh's heart was hardened. It was only once literary, poetic license if you will, to make a story with a point and most of the story was just that.
In addition, the stores were originally oral stories. The tellers then the stories were written as cashiers were not interested in accuracy and detail as well as the point. The point of the story of creation is, among other things, that our God is so powerful that God speaks things into existence, compared to Mesopotamian accounts namely: the Epic of Gilgamesh. The Jews were in exile in Babylon (Mesopotamia) and knew the story of Gilgamesh, and had to tell a story that his God was more powerful than the god of his captors. Makes sense?
If you have questions about the story please email me and I'm sorry this is so long, so for now, so long.