If the Earth were even 10 feet closer to the Sun, it would be inhospitable.
Yes, the habitable zone is quite small, but definitely not that small. Without saying much more, the Earth has an elliptical orbit, which means that our exact distance from the Sun can be quite variable (definitely more than 10 feet).