Passage
All others, as many as have come, are thieves and robbers: and the sheep heard them not.
All others, as many as have come, are thieves and robbers: and the sheep heard them not.
John 10:6 This proverb Jesus spoke to them. But they understood not what he spoke.
John 10:7 Jesus therefore said to them again: Amen, amen, I say to you, I am the door of the sheep.
John 10:8 All others, as many as have come, are thieves and robbers: and the sheep heard them not.
John 10:9 I am the door. By me, if any man enter in, he shall be saved: and he shall go in and go out, and shall find pastures.
John 10:10 The thief cometh not, but for to steal and to kill and to destroy. I am come that they may have life and may have it more abundantly.
The verse centers on "sheep", "others", "come", "thieves", "robbers", and "heard". It is saying that the verse draws attention to "sheep" and "others", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 7's "Jesus therefore said to them again Amen..." into verse 9's "I am the door By me if...", so "sheep" and "others" belong inside that flow. In John context, the local focus is the identity of Jesus, new birth, eternal life, and belief and unbelief.
A plain takeaway is to answer the verse's own emphasis on "sheep" and "others" with trust shaped by these words, not by a vague optimism outside the passage.