Yahweh continues speaking of the people of Israel as if they were a flock of sheep. Here he speaks of himself as if he were their shepherd and will take care of them. (See: [[rc://en/ta/man/translate/figs-metaphor]])
Yahweh bringing his people back from exile to their land so that he can care for them and keep them safe is spoken of as if he were their shepherd who puts his flock in a place where there is plenty of land, food, and water. (See: [[rc://en/ta/man/translate/figs-metaphor]])