Hebrew Bible

Ezekiel 34:13

11 “‘For this is what the Sovereign Lord says: Look, I myself will search for my sheep and seek them out. 12 As a shepherd seeks out his flock when he is among his scattered sheep, so I will seek out my flock. I will rescue them from all the places where they have been scattered on a cloudy, dark day. 13 I will bring them out from among the peoples and gather them from foreign countries; I will bring them to their own land. I will feed them on the mountains of Israel, by the streams and all the inhabited places of the land. 14 In a good pasture I will feed them; the mountain heights of Israel will be their pasture. There they will lie down in a lush pasture, and they will feed on rich grass on the mountains of Israel. 15 I myself will feed my sheep and I myself will make them lie down, declares the Sovereign Lord.

Date: 6th Century B.C.E.
* Dates are based on scholarly estimates
New Testament

John 10:16

14 “I am the good shepherd. I know my own and my own know me— 15 just as the Father knows me and I know the Father—and I lay down my life for the sheep. 16 I have other sheep that do not come from this sheepfold. I must bring them too, and they will listen to my voice, so that there will be one flock and one shepherd. 17 This is why the Father loves me—because I lay down my life, so that I may take it back again. 18 No one takes it away from me, but I lay it down of my own free will. I have the authority to lay it down, and I have the authority to take it back again. This commandment I received from my Father.”

Date: 90-110 C.E.
* Dates are based on scholarly estimates