“Now, then, put away the foreign gods that are among you, and incline your hearts to Yahweh, the God of Israel.”
In context
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.” 25So on that day Joshua made a covenant with the people and established for them decrees and laws at Shechem.