ESV: They said to Joshua, "We are your servants." And Joshua said to them, "Who are you? And where do you come from?"
NIV: "We are your servants," they said to Joshua. But Joshua asked, "Who are you and where do you come from?"
NASB: So they said to Joshua, 'We are your servants.' Then Joshua said to them, 'Who are you and where do you come from?'
CSB: They said to Joshua, "We are your servants." Then Joshua asked them, "Who are you and where do you come from?"
NLT: They replied, 'We are your servants.' 'But who are you?' Joshua demanded. 'Where do you come from?'
KJV: And they said unto Joshua, We are thy servants. And Joshua said unto them, Who are ye? and from whence come ye?
NKJV: But they said to Joshua, “We are your servants.” And Joshua said to them, “Who are you, and where do you come from?”