Mickeydee said:
if light is affected by gravity (ie. bend, stretch, curve) inconsistent.
why do we measure distance in lightyear?
We can measure distances in any units we like - meters, light-years, inches, furlongs.
The constancy of the speed of light makes it a convenient way to standardized our distance measurements, in fact, the definition of the meter used to be the distance that light traveled in 1/299,792,458 of a second . Nowadays this definition is worded a bit more abstractly, but it boils down to the same thing.
If you'd like to ask why, how, or when we settled on using light as the basis for our definition, we can attempt to discuss that, but it's not clear if that's what you're asking.
This standard definition of the meter alone does not account for the stretching, bending, etc. of space-time. The definition applies for small distances, where these effects are negligible. For small distances, the bending, stretching et al doesn't matter, similarly to the way one can draw local maps of the Earth's surface on a flat sheet of paper without difficutlies.
For large distance it does matters, just as for large distances on the Earth one needs to use a globe to get accurate visualizations of navigation and long distances.
The units still don't really matter - if you have a long distance, you have the same issues with regard to curvature, whether or not you call that distance 9.461e+15 meters or if you call it instead 1 light year.