Passage
Now it came to pass after the death of Moses, the servant of the Lord, that the Lord spoke to Joshua, the son of Nun, the minister of Moses, and said to him:
Now it came to pass after the death of Moses, the servant of the Lord, that the Lord spoke to Joshua, the son of Nun, the minister of Moses, and said to him:
Joshua 1:1 Now it came to pass after the death of Moses, the servant of the Lord, that the Lord spoke to Joshua, the son of Nun, the minister of Moses, and said to him:
Joshua 1:2 Moses my servant is dead: arise, and pass over this Jordan, thou and thy people with thee, into the land which I will give to the children of Israel.
Joshua 1:3 I will deliver to you every place that the sole of your foot shall tread upon, as I have said to Moses.
The verse centers on "came", "pass", "after", "death", "moses", "servant", and "lord". It is saying that the verse draws attention to "came" and "pass", so its meaning should be read from those terms before moving to application.
The next verse adds "Moses my servant is dead arise and...", so "came" and "pass" 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 "came" and "pass" with trust shaped by these words, not by a vague optimism outside the passage.