All of the Ten Commandments were made for man - including the third:

“Remember to keep holy the Sabbath day.”

The Church doesn’t see the Ten Commandments as arbitrary rules and regulations. They are commandments for our protection and wellbeing,   both temporal and spiritual. Obey them and eternal happiness is ours. Disobey them and we suffer the consequences. All the teachings of the Church are derived from these and from scripture.