Passage
Joshua therefore on that day made a covenant, and set before the people commandments and judgments in Sichem.
Joshua therefore on that day made a covenant, and set before the people commandments and judgments in Sichem.
Joshua 24:23 Now therefore, said he, put away strange gods from among you, and incline your hearts to the Lord the God of Israel.
Joshua 24:24 And the people said to Joshua: We will serve the Lord our God, and we will be obedient to his commandments.
Joshua 24:25 Joshua therefore on that day made a covenant, and set before the people commandments and judgments in Sichem.
Joshua 24:26 And he wrote all these things in the volume of the law of the Lord: and he took a great stone, and set it under the oak that was in the sanctuary of the Lord.
Joshua 24:27 And he said to all the people: Behold this stone shall be a testimony unto you, that it hath heard all the words of the Lord, which he hath spoken to you: lest perhaps hereafter you will deny it, and lie to the Lord your God.
The verse centers on "joshua", "therefore", "covenant", "before", "people", "commandments", "judgments", and "sichem". It is saying that the verse draws attention to "joshua" and "therefore", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 24's "And the people said to Joshua We..." into verse 26's "And he wrote all these things in...", so "joshua" and "therefore" belong inside that flow. In Joshua context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "joshua" and "therefore" with trust shaped by these words, not by a vague optimism outside the passage.