עבודה זרה א:ד · Avodah Zarah 1:4
עִיר שֶׁיֶּשׁ בָּהּ עֲבוֹדָה זָרָה, חוּצָה לָהּ מֻתָּר. הָיָה חוּצָה לָהּ עֲבוֹדָה זָרָה, תּוֹכָהּ מֻתָּר. מַהוּ לֵילֵךְ לְשָׁם. בִּזְמַן שֶׁהַדֶּרֶךְ מְיֻחֶדֶת לְאוֹתוֹ מָקוֹם, אָסוּר. וְאִם הָיָה יָכוֹל לְהַלֵּךְ בָּהּ לְמָקוֹם אַחֵר, מֻתָּר. עִיר שֶׁיֶּשׁ בָּהּ עֲבוֹדָה זָרָה וְהָיוּ בָהּ חֲנֻיּוֹת מְעֻטָּרוֹת וְשֶׁאֵינָן מְעֻטָּרוֹת, זֶה הָיָה מַעֲשֶׂה בְּבֵית שְׁאָן, וְאָמְרוּ חֲכָמִים, הַמְעֻטָּרוֹת אֲסוּרוֹת וְשֶׁאֵינָן מְעֻטָּרוֹת מֻתָּרוֹת:
In the case of a city in which there is active idol worship, it is permitted to engage in business transactions with gentiles who live outside of the city. If the idol worship is outside the city, it is permitted to engage in business within the city. What is the halakha with regard to traveling there, a place where a pagan festival is being celebrated? When the road is designated only for that place, it is prohibited to use the road, as onlookers will assume that the traveler intends to join the festival. But if one were able to travel on it to arrive at another place, it is permitted to use the road to reach the place that is observing the festival. With regard to a city in which idol worship is practiced and in which there are stores that are adorned for the sake of idol worship and there are others that are not adorned, this was in fact an incident that occurred in Beit She’an, and the Sages said: With regard to the adorned shops, it is prohibited to buy from them, but in the case of those that are not adorned it is permitted.
Word-by-word Breakdown (מילים ושרשים)
עִיר → a city [ע - ר - ר]שֶׁיֶּשׁ → that בָּהּ → in it עֲבוֹדָה → idol [ע - ב - ד]זָרָה → worship [ז - ר - ר]חוּצָה → outside [ח - ו - ץ]לָהּ → of it מֻתָּר → permitted [ת - ר - ר]הָיָה → if [ה - י - ה]חוּצָה → outside [ח - ו - ץ]לָהּ → of it עֲבוֹדָה → idol [ע - ב - ד]זָרָה → worship [ז - ר - ר]תּוֹכָהּ → inside it [ת - ו - ך]מֻתָּר → permitted [ת - ר - ר]מַהוּ → what is לֵילֵךְ → to travel [ה - ל - ך]לְשָׁם → there בִּזְמַן → when [ז - מ - ן]שֶׁהַדֶּרֶךְ → the road [ד - ר - ך]מְיֻחֶדֶת → designated [י - ח - ד]לְאוֹתוֹ → to that מָקוֹם → place [מ - ק - ם]אָסוּר → prohibited [א - ס - ר]וְאִם → and if הָיָה → was [ה - י - ה]יָכוֹל → able [י - כ - ל]לְהַלֵּךְ → to walk [ה - ל - ך]בָּהּ → on it לְמָקוֹם → to a place [מ - ק - ם]אַחֵר → other [א - ח - ר]מֻתָּר → permitted [ת - ר - ר]עִיר → a city [ע - ר - ר]שֶׁיֶּשׁ → that בָּהּ → in it