Musar к Дварим 12:30

הִשָּׁ֣מֶר לְךָ֗ פֶּן־תִּנָּקֵשׁ֙ אַחֲרֵיהֶ֔ם אַחֲרֵ֖י הִשָּׁמְדָ֣ם מִפָּנֶ֑יךָ וּפֶן־תִּדְרֹ֨שׁ לֵֽאלֹהֵיהֶ֜ם לֵאמֹ֨ר אֵיכָ֨ה יַעַבְד֜וּ הַגּוֹיִ֤ם הָאֵ֙לֶּה֙ אֶת־אֱלֹ֣הֵיהֶ֔ם וְאֶעֱשֶׂה־כֵּ֖ן גַּם־אָֽנִי׃

берегись, чтобы не быть пойманным, чтобы следовать за ними, после чего они будут уничтожены пред тобою; и что ты не спрашиваешь за их богов, говоря:'Как использовали эти народы, чтобы служить своим богам? Я буду поступать так же.'

Orchot Tzadikim

Pride can also be recognized in his food and drink, and in his wearing of proud garments — the garments of a heathen — and against this we are warned in the Torah of Moses, as it is said: "You shall not follow the practices of the nation …" (Lev. 20:23), and it is also written: "… Neither shall ye walk in their statues …" (Ibid. 18:3), and it is further said: "Take heed to thyself that thou be not ensnared to follow them …" (Deut. 12:30). All of these precepts concern one matter — warning that Israel should be distinguished from the nations in its garments, speech and customs, and thus it says: "… for I have set you apart from the peoples" (Lev. 20:26).