There are some protestants who believe the literal words (usually in the King James Bible) are all literally exactly true, but I think the majority of Christians including Catholics and Orthodox believe that it can be metaphorical or mythical in parts. This is often couched in disclaimers saying it’s true, but the truth is it didn’t have to be literal or something like that
Those who believe everything literally happened have a much harder time defending all the “evil” stuff God did, while those who don’t can at least say we probably just don’t understand that bit.