Craig Blomberg is an inerrantist. I am not. Blomberg still takes a more skeptical view of biblical historicity than I do. Nevertheless, Blomberg makes an interesting point about the historicity of the Old Testament and the Old Testament writers' views of historicity:
The purpose of the miracle stories [in the Old Testament] is to counter the suggestion that any god but the Lord of Israel exists; only real events, not just mythical stories, could accomplish this.
(Craig L. Blomberg, Can We Still Believe the Bible? [Grand Rapids, Michigan: Brazos Press, 2014], 211.)