The Metaphysics of Morals by Immanuel Kant Chapter 2 Page 73

adopt as an end; but as an objective end, which must as a law constitute the supreme limiting condition of all our subjective ends, let them be what we will; it must therefore spring from pure reason.

In fact the objective principle of all practical legislation lies (according to the first principle) in the rule and its form of universality which makes it capable of being a law (say, e. g., a law of nature); but the subjective principle is in the end; now by the second principle the subject of all ends is each rational being, inasmuch as it is an end in itself. Hence follows the third practical principle of the will, which is the ultimate condition of its harmony with universal practical reason, viz.: the idea of the will of every rational being as a universally legislative will.