Joshua 23:6-8 Contemporary English Version (CEV)
6 Be sure that you carefully obey everything written in The Book of the Law[a] of Moses and do exactly what it says.
7 Don’t have anything to do with the nations that live around you. Don’t worship their gods or pray to their idols or make promises in the names of their gods. 8 Be as faithful to the Lord as you have always been.
Joshua 23:6-8 New International Version (NIV)
6 “Be very strong; be careful to obey all that is written in the Book of the Law of Moses, without turning aside to the right or to the left. 7 Do not associate with these nations that remain among you; do not invoke the names of their gods or swear by them. You must not serve them or bow down to them. 8 But you are to hold fast to the Lord your God, as you have until now.