Berean Study Bible (BSB) - Joshua 2:7 >

So the king’s men set out in pursuit of the spies along the road to the fords of the Jordan, and as soon as they had gone out, the gate was shut.

Jewish Publication Society of America Version (JPS1917) - Joshua 2:7 >

And the men pursued after them the way to the Jordan unto the fords; and as soon as they that pursued after them were gone out, the gate was shut.