Frequency is the number of complete wavelengths in a given unit of time.
From the above relation, the frequency is inversely proportional to the wavelength.
As the frequency increases, the wavelength gets shorter. As the frequency decreases, the wavelength gets longer.
Thus, if a wave has greater frequency the wavelength decreases.