That God created the Sabbath for our benefit, not us for the Sabbaths’ purpose. The pharisees were putting the Sabbath as a need for God, as if he needed us to rest, when rather God was looking after our needs (eating which is one of those, caring, love etc) by giving us rest we so rightly need after a week of work. God didn’t need to rest, he did it for us. It gave us a way to emulate him while at the same time giving us what we need.
As to how it applies morally in our lives, we should view all of the ‘rules’ as gifts from God. They are not there because God ‘needs’ us to do them, but because God knows they are best for us and that we need to do them to be good, loving people. That things like the Sacrament of Reconciliation are not a punishment but a gift of grace, given to us not because God has a ‘need’ for us to be reconciled to Him, but because He knows WE need it.