Joshua 24:23
“Now therefore put away, said he, the strange gods which are among you, and incline your heart unto the Lord God of Israel.”
And the people said unto Joshua, Nay; but we will serve the Lord.
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.
Now therefore put away, said he, the strange gods which are among you, and incline your heart unto the Lord God of Israel.
And the people said unto Joshua, The Lord our God will we serve, and his voice will we obey.
So Joshua made a covenant with the people that day, and set them a statute and an ordinance in Shechem.
Counter-Arguments
The strongest case that this verse does not belong in this theme.

Related Verses
“Now therefore fear the Lord, and serve him in sincerity and in truth: and put away the gods which your fathers served on the other side of the flood, and in Egypt; and serve ye the Lord.”
“That ye come not among these nations, these that remain among you; neither make mention of the name of their gods, nor cause to swear by them, neither serve them, nor bow yourselves unto them:”
“If ye forsake the Lord, and serve strange gods, then he will turn and do you hurt, and consume you, after that he hath done you good.”
“Thou shalt not bow down to their gods, nor serve them, nor do after their works: but thou shalt utterly overthrow them, and quite break down their images.”
“And the people answered and said, God forbid that we should forsake the Lord, to serve other gods;”