Deuteronomy 13:7

5 Such a prophet or dreamer must be put to death, because he has advocated rebellion against the LORD your God, who brought you out of the land of Egypt and redeemed you from the house of slavery; he has tried to turn you from the way in which the LORD your God has commanded you to walk. So you must purge the evil from among you.

6 If your very own brother, or your son or daughter, or the wife you embrace, or your closest friend secretly entices you, saying, “Let us go and worship other gods” (which neither you nor your fathers have known,

the gods of the peoples around you, whether near or far, whether from one end of the earth or the other),

8 you must not yield to him or listen to him. Show him no pity, and do not spare him or shield him.

9 Instead, you must surely kill him. Your hand must be the first against him to put him to death, and then the hands of all the people.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
the gods of the peoples around you, whether near or far, whether from one end of the earth or the other),
KJV
Namely, of the gods of the people which are round about you, nigh unto thee, or far off from thee, from the one end of the earth even unto the other end of the earth;
WEB
of the gods of the peoples who are around you, near to you, or far off from you, from the one end of the earth even to the other end of the earth—
ASV
of the gods of the peoples that are round about you, nigh unto thee, or far off from thee, from the one end of the earth even unto the other end of the earth;
DARBY
of the gods of the peoples which are round about you, near unto thee, or far from thee, from one end of the earth even unto the other end of the earth),
BLB
of the gods of the peoples who [are] all around you⁺, near to you or far off from you, from the end of the earth and to the end of the earth),
ÅB
av de folks guder som bor rundt omkring dere, enten nær ved deg eller langt fra deg, fra jordens ene ende til den andre -
OTB
guder fra folkene rundt dere, enten nær eller fjern, fra den ene enden av jorden til den andre),
B1930
av de folks guder som bor rundt omkring eder, enten nær ved dig eller langt fra dig, fra jordens ene ende til den andre -

Study notes (Tyndale)

Original text and word study