וַיִּשְׁלַח֩ יְהוֹשֻׁ֨עַ אֲנָשִׁ֜ים מִֽירִיח֗וֹ הָעַ֞י אֲשֶׁ֨ר עִם־בֵּ֥ית אָ֙וֶן֙ מִקֶּ֣דֶם לְבֵֽית־אֵ֔ל וַיֹּ֤אמֶר אֲלֵיהֶם֙ לֵאמֹ֔ר עֲל֖וּ וְרַגְּל֣וּ אֶת־הָאָ֑רֶץ וַֽיַּעֲלוּ֙ הָאֲנָשִׁ֔ים וַֽיְרַגְּל֖וּ אֶת־הָעָֽי׃
Josué envoya, de Jéricho, des hommes vers Aï, ville voisine de Beth-Avên, à l’orient de Béthel, en leur disant: "Allez explorer cette région." Et ces hommes allèrent explorer Aï.
Rashi
Because of the calves of Beth-aven etc. Because of the retribution destined to befall the calves in Bethel, called Beth-aven in the Book of Joshua (7:2).
Rashi
for Gilgal shall be exiled—According to its name is its curse. And, similarly, there is a city near Bethel named Beth-aven in the Book of Joshua (7:2).