The attribute of wisdom in God, is his disposition to use his knowledge and power in the most benevolent manner. In other words, to exercise his natural attributes for the promotion of the highest good. It is the choice of the best or most benevolent ends, and of the most suitable means for the accomplishment of those ends. Wisdom is an attribute of God. The benevolence of God has been established.
Benevolence is good willing, or the love of being and of happiness.
The exercise of benevolence, together with its carrying out, or its gratification, constitutes the happiness of God. God's happiness is infinitely the greatest good in the universe. It is plainly the greatest possible good. To purpose to do what he most loves to do, and thus promote his own happiness by the exercise and gratification of his infinitely benevolent disposition, is certainly the perfection of wisdom. His supreme end must have been the promotion of his own glory and happiness, as this was the highest, most worthy, and desirable end that he could propose to himself.