Joshua 23:5-8 New American Standard Bible (NASB)

5. The Lord your God, He will thrust them out from before you and drive them from before you; and you will possess their land, just as the Lord your God promised you.

6. Be very firm, then, to keep and do all that is written in the book of the law of Moses, so that you may not turn aside from it to the right hand or to the left,

7. so that you will not associate with these nations, these which remain among you, or mention the name of their gods, or make anyone swear by them, or serve them, or bow down to them.

8. But you are to cling to the Lord your God, as you have done to this day.

Joshua 23