If we understand that the word of God is not a set of laws, not a history, and definitely not a book of science (sorry, all attempts to shoehorn Genesis's creation usually fail) then these inconsistencies don't matter.
The Bible is myth. And lest you say "Yes, it's a myth, it's false," lemme explain what the original purpose of myth was.
https://sage-advices.com/what-was-the-purpose-of-myths/But myths are more than mere stories and they serve a more profound purpose in ancient and modern cultures. Myths are sacred tales that explain the world and man’s experience. Myths are as relevant to us today as they were to the ancients. Myths answer timeless questions and serve as a compass to each generation.
Mythology serves four functions: The Metaphysical, Cosmological, Sociological, and Pedagogical.
Mythology plays an important role is because it becomes a foundation for a lot of religions that are practiced. These particular myths are stories that tell us about battles between good and evil. Every religion has stories like that, both ancient and modern. They show how our ancestors thought and what they believed.
So what exactly is the purpose of Judeo-Christian myth? Well, it has to do with reading between the lines.
The first book in the Bible chronologically is actually Job. Which is odd, because Job cites several laws about the care for widows and orphans, which he insists he has kept. Job is in some ways the most profound book of the Bible because it tells the story of a man accused wrongly, a story that will play out again during Jesus's crucifixion. From there were have a very direct encounter with God, where God first accuses Job and then defends him. A rather strange picture, but in stories we call this character establishment (in anime, this is usually filled by a waking up and getting ready scene). This is what God is like, very direct in his interaction with humans.
We then get a progression of story from Genesis, where a universe is made, the world is made, humanity is made, and finally a favored tribe is made. More importantly, during this time, we learn that this tribe came after a very dark chapter in history. Atheists seem to want to tell it as God being mean, but let's read it.
Now it came about, when men began to multiply on the face of the land, and daughters were born to them, that the sons of God saw that the daughters of men were beautiful; and they took wives for themselves, whomever they chose. Then the LORD said, "My Spirit shall not strive with man forever, because he also is flesh; nevertheless his days shall be one hundred and twenty years."The Nephilim were on the earth in those days, and also afterward, when the sons of God came in to the daughters of men, and they bore children to them. Those were the mighty men who were of old, men of renown (Genesis 6:1-4).
Reread that.
Did you understand what you are reading? No? Here's a quick review. These were genetically tainted humans. This isn't just simple evil, but actively attempting to ruin the very nature of humans. GMOs and other crap.

So for all the people telling me that God killed all but a few humans, let me correct you a bit. These weren't humans, they were more like ogres and giants and catgirls. Nephilim. As everyone knows, catgirls must not exist. Nowadays, we humans are 100% human (though after COVID vaccines, I'm not sure). This was God culling genetic deformity. You all like Darwin right? Okay, survival of the fittest. What, you aren't pleased?
Anyway, after that, we have another two dark chapters. We have a tower of Babel (which extra text tells us was probably built on near-worldwide tyranny, and which we are told the Jews did not participate), and a strange section about a seven year famine. All of this in the framework of a family favored by God. Btw, what could create a famine that wipes out all grains for seven years? Well...
https://ancientnuclearwar.com/So yeah, times are rough. And people searching for direction find there is a God, and that he travels with them. And we have their journey from people who believe in a very personal God to a nation that wants a king (against the advice of God) and a temple (also against the advice of God, who says that he was content wandering with his people), ultimately turning their back on God and following a cheap set of laws.
But this story doesn't end with their condemnation, nor does it end with that of their enemies. Instead, God exports his plan of salvation to this entire world (and probably all the universe, eventually). This is God who so loves the world that he is willing to die on the cross for us. Yes, the Bible mentions several times when God loses his shit. What have we learned from both Job and Genesis? This is a God whom we are modeled after. That is, everything from tantrums to making war (on other gods) to very human love are all part of who God is.