Does the redshift violate the preservation of energy

No.10929862 ViewReplyOriginalReport
if the spectrum is shifted to higher frequency by the expanding universe, the energy of the photon is reduced, resulting in a violation of the 1st law of thermodynamics