Joshua 24:17-22
English Standard Version
Chapter 24
17for it is the Lord our God who brought us and our fathers up from the land of Egypt, out of the house of slavery, and who did those great signs in our sight and preserved us in all the way that we went, and among all the peoples through whom we passed. 18And the Lord drove out before us all the peoples, the Amorites who lived in the land. Therefore we also will serve the Lord, for he is our God."
19But Joshua said to the people, "You are not able to serve the Lord, for he is a holy God. He is a jealous God; he will not forgive your transgressions or your sins.
20If you forsake the Lord and serve foreign gods, then he will turn and do you harm and consume you, after having done you good."
21And the people said to Joshua, "No, but we will serve the Lord."
22Then Joshua said to the people, "You are witnesses against yourselves that you have chosen the Lord, to serve him." And they said, "We are witnesses."