"Now therefore," he said, "take away strange gods from among yourselves, and incline your hearts to the Lord, the God of Israel.
Other versions
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.English Standard Version
He said, "Then put away the foreign gods that are among you, and incline your heart to the LORD, the God of Israel."New International Version
"Now then," said Joshua, "throw away the foreign gods that are among you and yield your hearts to the LORD, the God of Israel."