Ezekiel 20:16-18 New American Standard Bible (NASB)

16. because they rejected My ordinances, and as for My statutes, they did not walk in them; they even profaned My sabbaths, for their heart continually went after their idols.

17. Yet My eye spared them rather than destroying them, and I did not cause their annihilation in the wilderness.

18. "I said to their children in the wilderness, 'Do not walk in the statutes of your fathers or keep their ordinances or defile yourselves with their idols.

Ezekiel 20