until Yahweh have given your brothers rest, as [he has given] you, and they also have possessed the land which Yahweh your God gives them: then you shall return to the land of your possession, and possess it, which Moses the servant of Yahweh gave you beyond the Jordan toward the sunrise.
The first city that the Israelites had to conquer was Jericho, for it blocked their passage through the mountain pass to the land beyond. Joshua sent two men ahead to spy out Jericho, and although their presence in the city was discovered, they received protection from a prostitute named Rahab (2:1-7).