The light shines on everything in an unblocked direct line from the light source. This light is quite bright, so can be seen by human eyes all the way out to the horizon (until the curvature of the earth ends up blocking the direct line).
It seems you are confused about the amount of light needed to see a light source directly versus to have it noticeably illuminate some object near you. Most objects reflect relatively little of the incident light hitting them, and then they scatter it. As a result, you only get to see a tiny fraction of the light that hit an object from a distance light source. In contrast, when looking at that light source directly, you see all the light that hits your pupil.
Think about distant stars at night. You can see them, but they don't make enough light to read a newspaper by, for example.
Now consider the reverse. The sun makes plenty of light to read a newspaper by. But as a result, it is too bright to look at directly without damaging your eyes. That same ratio of direct-sun brightness to newspaper brightness applies to all other light sources too, like a lighthouse 5 miles away, or a star 50 light years away.