From his Body of Divinity:
The principal object of the love of God is himself. Self-love is in all intelligent beings; nor is it discommendable, when it is not carried to a criminal excess, and to the neglect of others; none are obliged to love others more than themselves, but as themselves (Matthew 22:39). God first and chiefly loves himself; and hence he has made himself, that is, his glory, the ultimate end of all he does in nature, providence, and grace, (Prov. 16:4; Rom. 11:36; Rev. 4:11; Eph. 1:6) and his happiness lies in contemplating himself, his nature and perfections; in that love, complacency and delight he has in himself; nor needs he, nor can he have anything out of himself that can add to his essential happiness.
Not many others have a section, as Gill does, dedicated to the attribute, “The Hatred of God.”