Ezekiel 20:9-14 New King James Version (NKJV)

9. But I acted for My name’s sake, that it should not be profaned before the Gentiles among whom they were, in whose sight I had made Myself known to them, to bring them out of the land of Egypt.

10. “Therefore I made them go out of the land of Egypt and brought them into the wilderness.

11. And I gave them My statutes and showed them My judgments, ‘which, if a man does, he shall live by them.’

12. Moreover I also gave them My Sabbaths, to be a sign between them and Me, that they might know that I am the Lord who sanctifies them.

13. Yet the house of Israel rebelled against Me in the wilderness; they did not walk in My statutes; they despised My judgments, ‘which, if a man does, he shall live by them’; and they greatly defiled My Sabbaths. Then I said I would pour out My fury on them in the wilderness, to consume them.

14. But I acted for My name’s sake, that it should not be profaned before the Gentiles, in whose sight I had brought them out.

Ezekiel 20