Joshua said to the people, “You are witnesses against yourselves that you have chosen Yahweh, to serve him.” They said, “We are witnesses.”
In context
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.” 22Joshua said to the people, “You are witnesses against yourselves that you have chosen Yahweh, to serve him.” They said, “We are witnesses.” 23“Now, then, put away the foreign gods that are among you, and incline your hearts to Yahweh, the God of Israel.” 24The people said to Joshua, “We will serve Yahweh our God, and we will obey his voice.”