Passage
And Joshua said to the people: You will not be able to serve the Lord: for he is a holy God, and mighty and jealous, and will not forgive your wickedness and sins.
And Joshua said to the people: You will not be able to serve the Lord: for he is a holy God, and mighty and jealous, and will not forgive your wickedness and sins.
Joshua 24:17 The Lord our God he brought us and our fathers out of the land of Egypt, out of the house of bondage: and did very great signs in our sight, and preserved us in all the way by which we journeyed, and among all the people through whom we passed.
Joshua 24:18 And he hath cast out all the nations, the Amorrhite the inhabitant of the land into which we are come. Therefore we will serve the Lord, for he is our God.
Joshua 24:19 And Joshua said to the people: You will not be able to serve the Lord: for he is a holy God, and mighty and jealous, and will not forgive your wickedness and sins.
Joshua 24:20 If you leave the Lord, and serve strange gods, he will turn, and will afflict you, and will destroy you after all the good he hath done you.
Joshua 24:21 And the people said to Joshua: No, it shall not be so as thou sayest, but we will serve the Lord.
The verse centers on "joshua", "said", "people", "able", "serve", "lord", "holy", and "mighty". It is saying that the verse draws attention to "joshua" and "said", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 18's "And he hath cast out all the..." into verse 20's "If you leave the Lord and serve...", so "joshua" and "said" 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 "said" with trust shaped by these words, not by a vague optimism outside the passage.