By the seventh day God had finished the work he had done, and on the seventh day he rested from all his work.
In context
1Thus the heavens and the earth were completed, and all that fills them. 2By the seventh day God had finished the work he had done, and on the seventh day he rested from all his work. 3God blessed the seventh day and made it holy, because on it he rested from all the work of creation he had done. 4This is the account of the heavens and the earth when they were created — on the day Yahweh God made earth and heavens.