A metaphor is a figure of speech in which a word or phrase is applied to an object or action to which it is not literally applicable.
Another word for metaphor is analogy – a thing regarded as representative or symbolic of something else.
Examples of Biblical metaphors:
The law of the wise is a fountain of life, to depart from the snares of death.
Isaiah 64:8 But now, O Lord , thou art our father; we are the clay, and thou our potter; and we all are the work of thy hand.
Psalm 23:1 The Lord is my shepherd; I shall not want.
John 6:35 And Jesus said unto them, I am the bread of life: he that cometh to me shall never hunger; and he that believeth on me shall never thirst.
John 14:6 Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.
Matthew 5:13 Ye are the salt of the earth: but if the salt have lost his savour, wherewith shall it be salted? it is thenceforth good for nothing, but to be cast out, and to be trodden under foot of men.