Joshua 23:7

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.

Read Joshua 23:7 Using Other Translations

That ye come not among these nations, these that remain among you; neither make mention of the name of their gods, nor cause to swear by them, neither serve them, nor bow yourselves unto them:
that you may not mix with these nations remaining among you or make mention of the names of their gods or swear by them or serve them or bow down to them,
Make sure you do not associate with the other people still remaining in the land. Do not even mention the names of their gods, much less swear by them or serve them or worship them.

What does Joshua 23:7 mean?

John Gill's Exposition of the Bible
Joshua 23:7

That ye come not among these nations, those that remain among
you
That remained unsubdued, or that were suffered to dwell among them, being tributaries to them; with these they were not to converse freely and familiarly, nor to carry on trade and commerce with them, nor enter into any alliances or marriages with them, and not even attend any of their feasts, and especially their idolatrous ones:

neither make mention of the name of their gods;
not in common conversation, and still less in any religious matters; never with any reverence of them, or in any respectable manner; but always with indignation and contempt, calling them dunghill gods, and the like, as they often are in Scripture:

nor cause to swear [by them];
neither swear by them themselves, nor cause others to swear by them, as Abarbinel; or a man his neighbour, as Kimchi; no, not a Gentile, as Ben Melech; so it is said in the Misnah {p},

``he that vows in the name of an idol, and confirms in his name, (which Bartenora interprets, swears by his name,) transgresses a negative precept.''

Maimonides F17 also says,

``he that vows in the name of an idol, and swears by it, is to be beaten--he that swears by it himself, or causes a Gentile to swear by it; for it is forbidden to cause a Gentile to swear by his fear (or idol), and even to cause him to make mention of it, though not in the way of an oath, it is forbidden:''

neither serve them;
by offering any sacrifice or incense to them, or by praying to them, or offering them praises on any account, or by performing any religious service in any instance or form whatever:

nor bow yourselves unto them;
give them any adoration or worship, external or internal.


FOOTNOTES:

F16 Sanhedrin, c. 7. sect. 6.
F17 Hilchot & Obedeth Cochabim, c. 5. sect. 10.
California - Do Not Sell My Personal Information  California - CCPA Notice