Joshua said to the people, “You will not be able to serve Yahweh, for he is a holy God. He is a jealous God; he will not forgive your rebellion or your sins.
In context
17For it is Yahweh our God who brought us and our fathers up out of the land of Egypt, out of the house of slavery, and who performed those great signs before our eyes, and who protected us throughout our journey and among all the peoples through whom we passed. 18Yahweh drove out before us all the peoples, including the Amorites who lived in the land. We too will serve Yahweh, for he is our God.” 19Joshua said to the people, “You will not be able to serve Yahweh, for he is a holy God. He is a jealous God; he will not forgive your rebellion or your sins. 20If you forsake Yahweh and serve foreign gods, he will turn and bring disaster on you and consume you, after he has been good to you.” 21But the people said to Joshua, “No — we will serve Yahweh.”