In the groundwork for the metaphysics of morals we find that to act on duty is to act from a self-seeking purpose to act because you want to to act out of respect for law to act out of the fear of god