Because 'not literal and inerrant' is not the same thing as 'full of errors/allegories.' What you have constructed is a false dichotomy.
The Bible doesn't generate faith; that's not what it is for. As Paul tells us, the Bible is intended to inform faith.