My two cents worth: One is a measure of time. The other is a measure of distance. The two are unrelated.
If space wasn’t expanding, the distance to a stationary object (in light years) would be exactly equal to the travel time of light from it (in years).