The advantage is that you need a smaller desalination facility, as it can run at 100% duty cycle. Pumped hydroelectricity could do something similar, but why not have a go at removing the losses of converting back to electricity. (Then again, if you have an electric pump you already have most of the equipment required to produce hydroelectricity by running it in reverse, so pumped hydro might be better because it is more versatile?)