Should everything that is written in the Bible be taken literally?

APOCALYPIC LANGUAGE is language in scripture that is symbolic, hyperbolic and it often describes what seems to be the end of the world.

Apocalyptic language is used many times in scripture but it was not meant to be taken literally.

It is used to describe the destruction of Babylon in Chapter 13 of Isaiah...

Isaiah 13:10  For the stars of heaven and their constellations Will not give their light; The sun will be darkened in its going forth, And the moon will not cause its light to shine.

It is used in The destruction of Bozrah, capital of Edom/Idumea...

Isaiah 34:4  All the host of heaven shall be dissolved, And the heavens shall be rolled up like a scroll; All their host shall fall down As the leaf falls from the vine, And as fruit falling from a fig tree. 
Isaiah 34:5  "For My sword shall be bathed in heaven; Indeed it shall come down on Edom, And on the people of My curse, for judgment.

It is used at the 2nd Coming of Christ...

Matthew 24:29  "Immediately after the tribulation of those days the sun will be darkened, and the moon will not give its light; THE STARS WILL FALL FROM HEAVEN, and the powers of the heavens will be shaken.

If you interpret Apocalyptic language as literal instead of symbolic then please answer the following question:

How could the STARS FALL FROM HEAVEN in Matthew 24:29 if they had been DISSOLVED and FELL in Isaiah 34:4?

Did GOD create more stars to replace the ones that had fallen?

Did a literal sword come down from heaven and cut the Idumeans in Isaiah 34:5?

I think you know that the answer is NO to those 2 questions.

Be very careful that you don't make the mistake of taking something literal in scripture when it is meant to be symbolic!

Don K. Preston has several successive videos on Apocalyptic Language starting with this one...

Don K. Preston Speaks About Apocalyptic Language

I learned a lot from them and I'm sure that you will too.