Joshua 24:19-22 - WEB
19
Joshua said to the people, You can`t serve Yahweh; for he is a holy God; he is a jealous God; he will not forgive your disobedience nor your sins.
20
If you forsake Yahweh, and serve foreign gods, then he will turn and do you evil, and consume you, after that he has done you good.
21
The people said to Joshua, No; but we will serve Yahweh.
22
Joshua said to the people, You are witnesses against yourselves that you have chosen you Yahweh, to serve him. They said, We are witnesses.
Full Chapter