Exodus 31:17 says that in six days the LORD made heaven and earth, and on the seventh day he rested and was refreshed. The note observes that this language gives God a need for rest, and sets it against Isaiah 40:28, which says the everlasting God does not faint or grow weary. The question is how literally the language of Exodus is to be taken.
It is a sign forever between me and the people of Israel that in six days the LORD made the heavens and the earth, and on the seventh day he rested and was refreshed.’”
Exodus 31:17
Have you not known? Have you not heard? The LORD is the everlasting God, the Creator of the ends of the earth. He does not faint or grow weary; his understanding is unsearchable.
Isaiah 40:28
Source: see Credits and references (no. 36, p. 29).