I read once that that part of the Bible was altered to replace references to Ra or some other Egyptian god with the Hebrew God as a way of trying to emphasize he was the only god that existed, and that passage suffered a lot as a result.
I have no idea if it's true but I always found that passage troubling when I was a Christian.
And if that is true, it doesn't speak well for anyone who thinks the Bible is inerrant.
It's definitely a statement easy to find being made, and iirc there's a few other places in the bible that's supposed to have gotten the same or similar treatment (if I'm not misremembering there was something like a reference to Ba'al replaced with reference to demons or false gods or somethin' like that, in relation to a contest of magic or... something.* It's been a while since I cared enough to look at it, heh).
From what I recall the original passages referenced other gods but made sure to portray them as weaker ones, which still fits fine with major precepts of scripture but, obviously enough, doesn't exactly play well with the whole "monotheism" thing, heh.
*Which... might be thinking of 1 Kings 18, but I'unno. That passage is pretty fucked up for
other reasons (extremely murderous religious violence, in which followers of YWHW murder several hundred rival priests after pulling off a party favor with "water" that caught fire when exposed to burnt offerings), but it looks like even the kjv retained reference to baal as a god/gods, just an absent one.