Psalms 106:40 Midrash

וַיִּֽחַר־אַ֣ף יְהוָ֣ה בְּעַמּ֑וֹ וַ֝יְתָעֵ֗ב אֶת־נַחֲלָתֽוֹ׃

Therefore was the wrath of the LORD kindled against His people, And He abhorred His inheritance.

Read midrashic interpretation of Psalms 106:40: and classical rabbinic exegesis.