Question: the lord is my shepherd figure of speech?
Answer: An extended metaphor is just a metaphor that continues for more than just one line or phrase in the poem. It's woven throughout several lines, or sometimes the whole poem. The metaphor comparing the Lord to a shepherd appears in the first four lines of the psalm.