This is the account of the heavens and the earth when they were created — on the day Yahweh God made earth and heavens.
In context
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. 5No wild shrub had yet appeared on the earth, and no plant of the field had yet sprung up, for Yahweh God had not sent rain on the earth, and there was no one to work the ground; 6but a mist rose from the earth and watered the whole surface of the ground.