Deuteronomy 13:7

gods from any of the surrounding nations, whether these are near or far away, from the beginning even to the end of the earth

Other versions

King James Version

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;

English Standard Version

some of the gods of the peoples who are around you, whether near you or far off from you, from the one end of the earth to the other,

New International Version

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