What general relativity actually predicts is that the expansion should be decelerating, as long as the energy is diluting away. If it’s not—if the density of energy, the amount of energy in each cubic centimeter or cubic light-year of space, is approximately constant—then that energy provides a perpetual impulse to the expansion of space, and the universe will actually be accelerating.