He gave each person a set of duties that they needed fulfill every six out of seven days, the seventh day was for resting. They would start their first day of work the following day.
They all started their first day of duties, he explained to them if they didn't compleat their duties it would be considered a sin.
One day, one of the men decided to sleep that day instead of working. God found him and told him that he had committed a sin, and now he need to redeem himself by confessing what he had done, praying and, asking for forgiveness. The man and the rest of the of the people learned from his mistake and were obedient to God.