I’m not a Christian, but I will answer the question as though I were a Catholic.
I would say that a literal reading of the OT misses the main point of it. It misunderstands the genre of literature in which it was written. We moderns often assume that all narrative accounts that are written are intended to be historical accounts whose purpose was to faithfully record events for the sake of remembering past events, but this is an idea that is only a few hundred years old.
In the ancient world, people didn’t keep narratives alive because they simply wanted to maintain archives of events, but to illustrate a point. Herodotus wrote his histories not to give a record to satisfy the academic curiosity people might have of the events he wrote about, but to glorify the Greek people.
Similarly, the purpose of much of the OT isn’t to give a detailed historically accurate account as it is to use examples to illustrate the nature of Man, God, and the nature of their relationship.
The predominant theme of the OT is that of man’s separation from God through sin and the need to repent in order to restore his relationship with God. almost every story in the OT is intended to illustrate this point through example.
His first covenant didn’t work, all the Prophets prophecies were the connections to God’s 2nd covenant, His Son our Lord Jesus Christ, our Savior. Peace, Carlan