The sun is about 93 million miles away from Earth If ... If Earth were closer to the sun, however, the oceans would boil away. and if farther we would not be able to live on earthAnd if that had happened, we wouldnt be here. That's the whole point.
Take a dining table, place a heat lamp at each end of the table. Then take handful of chocolate candy and throw it in the air, and they scatter around the table. One piece falls exactly in the center of the table, far enough from each lamp that it does not melt, the rest melt. That same silly argument could be made, that someone must have specifically placed that piece of candy in the exact position so that it woudn't melt.
Nobody placed the earth here. It just happened to be the planet that developed in the right region of the solar system and this facilitated the right conditions for life. It is especially helpful to consider the gzillions of planets that are all over the universe and that serve no purpose other than existing,