and on the 7th day God rested.
He didn’t need to. He chose to. The day of rest is part of the seven days of creation. There were not six days; there were seven. The actual rest is part of the work. When God created, and said, “It is good,” the rest was part of that. Rest is good.