Passage
Now Jericho was tightly shut because of the sons of Israel; no one went out, and no one came in.
Now Jericho was tightly shut because of the sons of Israel; no one went out, and no one came in.
Joshua 6:1 Now Jericho was tightly shut because of the sons of Israel; no one went out, and no one came in.
Joshua 6:2 And Yahweh said to Joshua, “See, I have given Jericho into your hand, with its king and the valiant warriors.
Joshua 6:3 And you shall march around the city, all the men of war circling the city once. You shall do so for six days.
The verse centers on "jericho", "tightly", "shut", "sons", "israel", "went", and "came". It is saying that the verse draws attention to "jericho" and "tightly", so its meaning should be read from those terms before moving to application.
The next verse adds "And Yahweh said to Joshua See I...", so "jericho" and "tightly" should be read forward into that movement. In Joshua context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "jericho" and "tightly" with trust shaped by these words, not by a vague optimism outside the passage.