https://en.wikipedia.org/wiki/Specific_heat
The relevant number for water at 25C is 4.184 joules per gram. But this isn't a strict apples to apples comparison: if you heat and cool zeolite in a vacuum chamber, it'll have a pathetic specific heat. (Like perlite, another foamed mineral, which has a specific heat of something like 0.1) That's because there's a chemical reaction taking place, not pure dumb-matter heating or cooling.
Meanwhile, the energy density of a lithium ion battery is 720 joules per gram, and the energy density of gasoline is 47,200 joules per gram. This does not "solve" energy storage, in any way, shape, or form.