In addition, the Sun's light is not scattered or absorbed by the Earth's atmosphere as much as the light from other stars. This is because the Sun is located directly above the Earth, whereas other stars are located at different angles to the Earth's surface. The Earth's atmosphere scatters and absorbs more light from stars that are located at lower angles to the horizon.
As a result of all of these factors, the Sun appears to be the brightest star in the sky.