There's really no practical way to attenuate the noise from this kind of source. There is no frequency to selectively absorb. You have a broad-band source of noise.
You'll have some success with a room divider made with a sound absorbing material which can enclose four sides around the freezer. You cannot seal it because it needs adequate ventilation for the compressor to work without overheating and burning out. You also should leave some space around the sides. Leave no vertical gaps between the panels or the noise will be able to propagate through.
Additionally, vibration isolation will stop noise from being conducted by the floor. Acoustic tiles suspended from the ceiling will further dampen the noise.
These techniques can reduce the level by half (about 3db) to to 1/16 (9 db)
All this will make getting into the freezer problematic.
This alone may not be enough for you. You might have to investigate ear plugs or some other device that you wear.
Can the freezer be relocated to a porch, balcony, or shelter out of the living area proper?
Least desirable might be to wait until you're so tired you could sleep through it, become used to the noise, or relocate away from it entirely.