For us, jealousy isn’t attractive, but for God, it’s a holy attribute. God is unhappy when we worship anyone besides Him. Only He deserves our praise.
From James 4:5-6: “Or do you suppose that it is for nothing that the scripture says, ‘God yearns jealously for the spirit that He has made to dwell in us’? But He gives all the more grace.”