The state is an artificial construct...not a good or bad thing...it just is.
The state is half a desert, and without the pipelines reservoirs, and dams that transport and store water, much of these areas with humans living on it would not be habitable, and then the Central Valley which provides a huge amount of the U.S. vegetable produce could not harvest anything.
The next thing is that because habitable land is scarce, but the population continues to grow, there are planning and environment regulations in place that zone where develooment can occur. Mountains take away developable land too. If they just allow developers to build unabated in the Central Valley then it would fill up quickly, and all that agricultural would be gone.
It allows undocumented immigrants to stayg and utilize resources too.