**Exodus 31:17 ESV:
It is a sign forever between me and the people of Israel that in six days the Lord made heaven and earth, and on the seventh day he rested and was refreshed.
Isaiah 40:28 ESV:
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.
I would like to preface this by saying I am not asking the meaning of "rest" I understand that means to cease. Rather I am asking about the full phrase "he rested and was refreshed". That seems like God was refreshed as a result of ceasing creating, but that would imply that God was weary during creation if ceasing work made him refreshed.
Ive seen answers like "refreshed" as in taking pleasure, but that is an expression in english, how do we know that expression exists in ancient Hebrew as well? Similarly I have seen use of Genesis 1:31 as evidence, yet Genesis 1:31 refers to the sixth day, while Genesis 31:17 refers to the seventh day. I bolded the "how" here because I am satisfied with proof for an interpretation. Ex: If it is an anthropomorphism, how do we know it is that and not a contradiction?
I understand that the hebrew word for refresh that was used means "to take breath", but there are other places where that word is used to signify regaining energy from weariness, (Exodus 23:12 and 2 Samuel 16:14). What differentiates this usage in Exodus 31:17 from the other verses and what makes Exodus 31:17 not mean that God was refreshed as a result of his cessation of work (Because how can you be refreshed from stopping work if the work did not make you tired).