Genesis 2:2 And on the seventh day God ended his work which he had made; and he rested on the seventh day from all his work which he had made.
The ultimate purpose of the sabbath day was to serve as an illustration for salvation. Received through faith and by ceasing from works as God rested on the seventh day from his work of creation.