Ézéchiel 16:17 Midrash : Sifrei Devarim

וַתִּקְחִ֞י כְּלֵ֣י תִפְאַרְתֵּ֗ךְ מִזְּהָבִ֤י וּמִכַּסְפִּי֙ אֲשֶׁ֣ר נָתַ֣תִּי לָ֔ךְ וַתַּעֲשִׂי־לָ֖ךְ צַלְמֵ֣י זָכָ֑ר וַתִּזְנִי־בָֽם׃

Et tu as pris tes belles parures [faites] de mon or et de mon argent que je t’avais donnés et tu t’es confectionné des simulacres de mâles et tu t’es prostituée à eux.

Sifrei Devarim

(Devarim 16:22) "And you shall not set up for yourself a monument (matzeivah), which the L-rd your G-d hates": This tells me only of a matzeivah. Whence do I derive (the same for) an asheirah and idolatrous images? It follows, viz.: If a matzeivah, which was "loved" for the fathers, is "hated" for the sons, then an asheirah and idolatrous images, which were "hated" for the fathers, how much more so are they hated for the sons!