Ezekiel 20:22-28 AMP

22 Yet I withheld My hand and acted for My name's sake, that it should not be debased and profaned in the sight of the [heathen] nations, in whose sight I had brought them forth [from bondage].

23 Moreover, I lifted up My hand and swore to them in the wilderness that I would scatter them among the [heathen] nations and disperse them in the countries,

24 Because they had not executed My ordinances but had despised and rejected My statutes and had profaned My Sabbaths, and their eyes were set on their fathers' idols.

25 Wherefore also I gave them [over to] statutes that were not good and ordinances whereby they should not live and could not have life, [Ps. 81:12; Isa. 66:4; Rom. 1:21-25, 28.]

26 And I [let them] pollute and make themselves unclean in their own offerings [to their idols], in that they caused to pass through the fire all the firstborn, that I might make them desolate, to the end that they might know, understand, and realize that I am the Lord. [Lev. 20:2-5.]

27 Therefore, son of man, speak to the house of Israel and say to them, Thus says the Lord God: Again in this your fathers blasphemed Me, in that they dealt faithlessly and treacherously with Me and committed a treasonous trespass against Me.

28 For when I had brought them into the land which I lifted up My hand and swore to give to them, then they saw every high hill and every dark and leafy tree [as a place for idol worship], and they offered there their sacrifices and there they presented their offering that provoked My anger and sadness; there also they made their sweet-smelling savor and poured out there their drink offerings.