Gravity wells are where most of the resources are. For example, Earth outmasses the asteroid belt by a factor of over 1,000.
All you need for space habs for construction (well, maybe not all the organic matter) is in asteroids. Maybe all we need material-wise is probably in the larger asteroids that we are trying to track for collision detection.
Here, let's cut the difference: MOONs! Why bother with planets if their moons have all the resources and none of the lifting issues.
I guess our moon is pretty resource poor since it formed from Earth's crust. But then again, have we surveyed what's under the surface?
https://globalnews.ca/news/7429663/metal-asteroid-16-psyche-...