That and nobody has ever suggested that we rely solely on solar for energy needs. Wind, for example, is cheaper than solar (though solar is catching up.)
Could you be more specific? Because battery energy storage barely works for houses and you can't build pump storage everywhere. Then there are few prototypes like Power-To-Gas which has promising prospect and rest is in level of sci-fi