And on the scale of the universe as a whole, energy continually decreases. Expansion entails increase of the wavelength of all light, which implies decrease in energy.
I don’t think the answer is so clear for the universe as a whole. The energy of the photons decreases due to the expansion - but the expansion can have other additional effects.