Passage
Now Jericho was straitly shut up because of the children of Israel: none went out, and none came in.
Now Jericho was straitly shut up because of the children of Israel: none went out, and none came in.
Joshua 6:1 Now Jericho was straitly shut up because of the children of Israel: none went out, and none came in.
Joshua 6:2 And the LORD said unto Joshua, See, I have given into thine hand Jericho, and the king thereof, and the mighty men of valour.
Joshua 6:3 And ye shall compass the city, all ye men of war, and go round about the city once. Thus shalt thou do six days.
The verse centers on "jericho", "straitly", "shut", "children", "israel", "none", and "went". It is saying that the verse draws attention to "jericho" and "straitly", so its meaning should be read from those terms before moving to application.
The next verse adds "And the LORD said unto Joshua See...", so "jericho" and "straitly" 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 "straitly" with trust shaped by these words, not by a vague optimism outside the passage.