Joshua 2:7

Amplified Bible (AMP)
So the [king’s] men pursued them on the road to the Jordan as far as the [c]fords [east of Jericho]; as soon as the pursuers had gone out after them, the gate [of the city] was shut.

Read Joshua 2:7 in other translations