Satan rose up against Israel and incited David to take a census… 1Chr. 21:1
Again, the anger of the Lord burned against Israel, and he incited David against them, saying, “Go take a census of Israel and Judah.” 2 Sam. 24:1
This is the same incident. One account says Satan provoked David to do what he did, the other says it was YHWH. Which is it? How is this not a contradiction?
To explain this, one needs to get down to the issues of inspiration, inerrancy, and who is really responsible for authorship. This goes beyond blithely saying that God is the author of the bible in some type of Platonist sense, dropping truth from heaven detached from time, space, history, and culture. It minimizes the human role in the writing of the biblical books.
Secondly, where does the bible specifically claim to have no contradictions? What chapter and verse can be cited to support such? I’m not necessarily disagreeing with you, but I’m wondering if this is more of a hermeneutical assumption with which we approach the bible than a claim made by the text itself.
This is also ground that needs to be treaded upon carefully. Proverbs gives the idea that if one obeys God and does righteousness, then all will go well in life. It also assumes that evil behavior leads to calamity and poor outcomes. Psalms largely gives this picture, as well. However, Job, which comes from the skeptical wisdom tradition, stands in tension with this view, showing that righteousness doesn’t necessarily lead to prosperity and happy outcomes in life. That time and chance happen to all people, good and evil, with no apparent way of figuring out why, as Ecclesiastes says.
Our desire is to have the bible speak with one voice on every issue. I don’t think it, or truth, works like that. The bible seems to reveal sometimes complementary and sometimes competing views on different issues. It reveals that truth is often more complex and multi-faceted than a simplistic homogenizing of its contents.
In the end, I do believe that the scriptural narrative is designed to lead us to Jesus, as the NT states over and over. And, while the truth of the gospel is simple, it is not simplistic. Who is more complex to understand than Jesus? We, the church, are still trying to catch up.