Joshua 24:21-25

21And the people said to Joshua, “No, but we will serve the Lord.” 22Then Joshua said to the people, “You are witnesses against yourselves that ayou have chosen the Lord, to serve him.” And they said, “We are witnesses.” 23He said, “Then bput away the foreign gods that are among you, and incline your heart to the Lord, the God of Israel.” 24And the people said to Joshua, “The Lord our God we will serve, and his voice we will obey.” 25So Joshua cmade a covenant with the people that day, and put in place dstatutes and rules for them at Shechem.
Copyright information for ESV