Plants also don't use the light while they are just sprouting. Plants don't use light after you harvest them. And most importantly, plants don't use light where they are not.
If you have vast areas of desert, you can mount lots of solar panels. Lots of places are somewhat between pure Dunes-type desert and Ukrainian-type super fertile chernozem. In a semi-desert place, you might be better off just installing solar panels and building indoor farms. Think of places like Arizona, or Nevada, or, why not, Sudan.
[1] https://bioslighting.com/grow-light-spectrum-led-plants/grow...
For example think of Sudan. Most of the current supplies need to be shipped by ship and then expensively transported inland.
But Sudan has lots of sunlight.
But on the other hand there is lots of sunlight for solar.