That is true!
A pyramid of energy shows how much energy is retained in the form of new biomass at each trophic level, while a pyramid of biomass shows how much biomass (the amount of living or organic matter present in an organism) is present in the organisms.