This question already has an answer here:
For example in ps.80:8-16 there is vine which is easy use analyze that it is metaphorically about Israel. But it still doesn't say in this passage that what vine is like, but it has to be analyzed from the context. But then I have heard that all prophecies in the bible unless otherwise stated are to be interpreted literally like the rebirth of nation of Israel in Isaiah.66:8? And I have heard that unless it is seen evidently from the passage that interpretation is to be taken metaphorically, one should interpret passage literally. Is this correct strategy for interpretation of a passage of the bible? So when to use literal and when allegorical/metaphorical interpretation method? Can you give some example passage that is not so easy to decide whether to interpret the passage literally or metaphorically?