Yes. Someone has even said (might not be in the Bible) that gloating takes away the blessing of whatever you’re gloating about. Your good fortune may not endure, even.
A soul focused on the love of God will wish ultimate good in the name of God to everyone, friends and enemies both. This is not the same as our modern secular liberalism, which imagines that good can be done without a faith in the Father of Lights, in fact only with a faith in humanity, which unfortunately is fallen so such a faith can never work. Nor does it rob the persons upon which good is thus wished of their own moral duty to accept it.