Tanach · Rishonim on Tanach · Rashi · Torah

Rashi on Deuteronomy 17:5/רש"י על דברים י״ז:ה׳

אוהוצאת את האיש ההוא אל שעריך וגו'. הַמְתַרְגֵּם אֶל שְׁעָרֶיךָ "לִתְרַע בֵּית דִּינָךְ" טוֹעֶה, שֶׁכֵּן שָׁנִינוּ "אֶל שְׁעָרֶיךָ" — זֶה שַׁעַר שֶׁעָבַד בּוֹ, אוֹ אֵינוֹ אֶלָּא שַׁעַר שֶׁנִּדּוֹן בּוֹ? נֶאֱמַר "שְׁעָרֶיךָ" לְמַטָּה וְנֶאֱמַר "שְׁעָרֶיךָ" לְמַעְלָה, מַה שְּׁעָרֶיךָ הָאָמוּר לְמַעְלָה שַׁעַר שֶׁעָבַד בּוֹ, אַף שְׁעָרֶיךָ הָאָמוּר לְמַטָּה שַׁעַר שֶׁעָבַד בּוֹ, וְתַרְגּוּמוֹ "לְקִרְוָיךְ":
1והוצאת את האיש ההוא אל שעריך וגו׳ THEN THOU SHALT BRING FORTH THAT MAN [OR THAT WOMAN WHO HAVE DONE THAT EVIL THING] UNTO THY GATES — He who renders אל שעריך in the Targum by לתרע בית דינך, unto the gate of thy court, is in error, for thus we have learned (Sifrei Devarim 148:2; Ketubot 45b): אל שעריך — this means the gate (the city) in which he has worshipped the idol. Or, perhaps this is not so, but it means the gate where he is being judged (the judges sat “at the gate of the city”; cf., e.g., Ruth 4:1 ff.)?! The term שעריך, however, is used below (i.e. here, which is the latter part of this section) and is used above (v. 2), and this suggests an analogy. What is the meaning of שעריך that is mentioned above? Evidently the gate (the city) wherein he served the idol! So, too, does שעריך mentioned below (in our verse) denote the gate in which he served the idol. The correct rendering in the Targum is therefore לקרויך “thou shalt bring him forth unto thy cities” (cf. Rashi on Deuteronomy 16:18).