Suppose you are using a hammer successfully to pound in a nail and someone comes by and starts pointing out the flaws in the hammer. They tell you it doesn't look very good, and perhaps it isn't too efficient. Though the Bible contains much history, we don't read it because we are curious about the historical details it contains. We read it to receive a message from God. If the Bible sheds light on our paths, then it is doing what it is supposed to do.
Many people study and debate about errors and contradictions in the Bible.
It takes considerable knowledge to enter that debate knowledge of history, of languages, of interpretation, and of science. But there is one test we can perform, no matter what skill we have. We can apply the promises of God and verify them in our own lives. You can tell what they are by what they do. No one picks grapes or figs from thornbushes.