Moral goodness is not obtainable through begrudging obedience or even through a love for goodness itself, apart from a love for God.
The basis of duty is the fact that God has called us in love and authority to be his willing servants.