2 So the sky, the earth and all that filled them were finished. 2 By the seventh day God finished the work he had been doing. So on the seventh day he rested from all his work. 3 God blessed the seventh day and made it a holy day. He made it holy because on that day he rested. He rested from all the work he had done in creating the world.
God created in six days and He rested on the seventh day. This set a pattern for the people of Israel to observe a Sabbath day as well, but the seventh day Sabbath wasn’t only based on creation, it was also based on redemption.