Here the word "sheep" is a metaphor that represents God's people. Jesus says that the Jewish leaders and teachers are like a hired servant who abandons the sheep, and they do not care for God's people. (See: [[rc://en/ta/man/translate/figs-metaphor]])