Joshua 24:22 in the King James Version
And Joshua said unto the people, Ye are witnesses against yourselves that ye have chosen you the LORD, to serve him. And they said, We are witnesses.
Context
21 The people said to Joshua, “No, but we will serve the LORD.”
22 Joshua said to the people, “You are witnesses against yourselves that you have chosen the LORD yourselves, to serve him.” They said, “We are witnesses.”
23 “Now therefore put away the foreign gods which are among you, and incline your heart to the LORD, the God of Israel.”