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

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