Joshua 23:4-7
23:4 See, I have parceled out to your tribes these remaining nations, from the Jordan to the Mediterranean Sea in the west, including all the nations I defeated.
23:5 The Lord your God will drive them out from before you and remove them, so you can occupy their land as the Lord your God promised you.
23:6 Be very strong! Carefully obey all that is written in the law scroll of Moses so you won’t swerve from it to the right or the left,
23:7 or associate with these nations that remain near you. You must not invoke or make solemn declarations by the names of their gods! You must not worship or bow down to them!