Of the 3, soil is unique in one way: you can have too much sun or too much water.
I've never heard anybody complain that they had too much soil.
Adding to that, I will say there is little that we can do to improve the quality of the sun and water.
There are tons of things we can do to improve the quality of soil.
With the first 2, you just have to deal with what you've got.
With soil, you can 'build your own'.