Does this not negate the whole "let there be light" narrative.
Well, perhaps not in itself since god created the sun and the stars on the same day, but it doesn't say in what order he created them in. The fact that it takes molecular clouds millions of years to collapse into stars might make a literal one day interpretation a bit difficult though.
Also, there are stars observed in the galaxy in various stages of thier billion-year life cycles. So it looks like god created an 'aged' universe.
Not to mention that most of these objects are more than 6000 light years away...
A) There's been several generations of stars because the sun is 3rd generation.
B) The sun is 3rd generation because there's been several generations (or populations) of stars.
The sun contains metals it could not produce itself > Older stars (population II) have lower metal content than younger stars > The metal content of the universe is rising > There must have been a generation of stars before the sun to produce those metals.