Shabbat guards those who keep it. The Chafetz Chaim, zt"l, writes in the introduction to the Mishnah Berurah that Shabbat is the root of emunah, and a story of a carpet merchant who would not come on Shabbat shows how that shemirah becomes a protection.