John 10:5

3 The gatekeeper opens the gate for him, and the sheep listen for his voice. He calls his own sheep by name and leads them out.

4 When he has brought out all his own, he goes on ahead of them, and his sheep follow him because they know his voice.

But they will never follow a stranger; in fact, they will flee from him because they do not recognize his voice.”

6 Jesus spoke to them using this illustration, but they did not understand what He was telling them.

7 So He said to them again, “Truly, truly, I tell you, I am the gate for the sheep.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
But they will never follow a stranger; in fact, they will flee from him because they do not recognize his voice.”
KJV
And a stranger will they not follow, but will flee from him: for they know not the voice of strangers.
WEB
They will by no means follow a stranger, but will flee from him; for they don’t know the voice of strangers.”
ASV
And a stranger will they not follow, but will flee from him: for they know not the voice of strangers.
DARBY
But they will not follow a stranger, but will flee from him, because they know not the voice of strangers.
BLB
But they will never follow a stranger, but will flee from him, because they do not know the voice of strangers.”
ÅB
men en fremmed følger de ikke, de flykter fra ham, fordi de ikke kjenner de fremmedes røst.
OTB
De vil ikke følge en fremmed; i stedet vil de flykte fra ham fordi de ikke kjenner fremmedes stemme."
B1930
men en fremmed følger de ikke, de flyr fra ham, fordi de ikke kjenner de fremmedes røst.

Study notes (Tyndale)

Original text and word study

Cross references