In the original Ten Commandments, the reason given for the Sabbath was the 6 day creation. But considering that humans wrote the Bible books, they reflect the evolution of human thought. Judaism evolved after the agreement that Abram made.
Exodus 20:11
“Remember the Sabbath day by keeping it holy. 9 Six days you shall labor and do all your work,10 but the seventh day is a Sabbath to the Lord your God. On it you shall not do any work, neither you, nor your son or daughter, nor your male or female servant, nor your animals, nor any foreigner residing in your towns. 11 For in six days the Lord made the heavens and the earth, the sea, and all that is in them, but he rested on the seventh day. Therefore the Lord blessed the Sabbath day and made it holy.
When the Ten Commandments were rewritten later the reason given for keeping the Sabbath is the Exodus, not the 6 day creation:
2 “Observe the Sabbath day by keeping it holy, as the Lord your God has commanded you. 13 Six days you shall labor and do all your work, 14 but the seventh day is a Sabbath to the Lord your God. On it you shall not do any work, neither you, nor your son or daughter, nor your male or female servant, nor your ox, your donkey or any of your animals, nor any foreigner residing in your towns, so that your male and female servants may rest, as you do. 15 Remember that you were slaves in Egypt and that the Lord your God brought you out of there with a mighty hand and an outstretched arm. Therefore the Lord your God has commanded you to observe the Sabbath day.
There are other areas of the scripture that evolve as the beliefs of the creators of the scripture evolved.
Again the anger of the Lord was aroused against Israel, and He moved David against them to say, “Go, number Israel and Judah.” (
2 Samuel 24:1)
200 years later the same story was rewritten and changed as beliefs changed:
The Bible is human, it reflects human speculation and conjecture about the doings of God.
Now Satan stood up against Israel, and moved David to number Israel. (
1 Chronicles 21:1)