The Metaphysics of Morals by Immanuel Kant Chapter 2 Page 23

second the object of the action (because it is pleasant to me). We have seen in the first section that in an action done from duty we must look not to the interest in the object, but only to that in the action itself, and in its rational principle (viz., the law).

A perfectly good will would therefore be equally subject to objective laws (viz., laws of good), but could not be conceived as obliged thereby to act lawfully, because of itself from its subjective constitution it can only be determined by the conception of good.

Therefore no imperatives hold for the Divine will, or in general for a holy will; ought is here out of place, because the volition is already of itself necessarily in unison with the law. Therefore imperatives are only formulae to express the