Joshua 24:23 in the King James Version
Now therefore put away, said he, the strange gods which are among you, and incline your heart unto the LORD God of Israel.
Context
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.”
24 The people said to Joshua, “We will serve the LORD our God, and we will listen to his voice.”