I think God knew humanity would sin. And I think God knew we would be prone to worship our work, which is why God initiated rest and Sabbath before the fall. In sin, humans are prone to worship the good things of this world over the Ultimate, the Creator.

