desire the step to religion has been taken, then this ethical doctrine may be also called a doctrine of happiness because the hope of happiness first begins with religion only.
We can also see from this that, when we ask what is God's ultimate end in creating the world, we must not name the happiness of the rational beings in it, but the summum bonum, which adds a further condition to that wish of such beings, namely, the condition of being worthy of happiness, that is, the morality of these same rational beings, a condition which alone contains the rule by which only they can hope to share in the former at the hand of a wise Author. For as wisdom, theoretically considered, signifies the knowledge of the summum bonum and, practically, the accordance of the will with the summum bonum, we cannot attribute to a supreme independent wisdom an end based merely on goodness. For we cannot conceive the action of this goodness (in respect of the happiness of rational beings) as suitable to the highest original good, except under the restrictive conditions of harmony with the holiness * of his will. Therefore, those who placed the end of creation in the glory of God (provided that this is not conceived anthropomorphically as a desire to be praised) have perhaps hit upon the best expression. For nothing glorifies God more than that which is the most estimable thing in the world, respect for his command, the observance of the holy duty that his law imposes on us, when there is added thereto his glorious plan of crowning such a beautiful order of things with corresponding happiness. If the latter (to speak humanly) makes Him worthy of love, by the former He is an object of adoration. Even men can never acquire respect by benevolence alone, though they may gain love, so that the greatest beneficence only procures them honour when it is regulated by worthiness.
{BOOK2|CHAPTER2 ^paragraph 55}
That in the order of ends, man (and with him every rational being) is an end in himself, that is, that he can never be used merely as a means by any (not even by God) without being at the same time an end also himself, that therefore humanity in our person must be holy to ourselves, this follows now of itself because he is the subject of the moral law, in other words, of that which is holy in itself, and on account of which and in agreement with which alone can anything be termed holy. For this moral law is founded on the autonomy of his will, as a free will which by its universal laws must necessarily be able to agree with that to which it is to submit itself.
VI. Of the Postulates of Pure Practical Reason Generally.
{BOOK2|CHAPTER2 ^paragraph 60}