You can both provide power locally (if needed - the desert regions with little rain and cheap land tend to have minimal population) and also produce hydrogen with excess power, which could be exported to other locations, used locally as an alternative to other energy storage methods like batteries, and for various things which are not trivially electrified like industrial process heat or vehicle fuel.
No one here is arguing that fossil fuels should be burned to conserve solar energy for other uses.