Even the Sun's light can take thousands of years to actually exit the sun.
The wording is not how light from our sun works... Unless you're simplifying greatly. It's not in a maze or some container that takes thousands of years to escape. The light is based on photons that are emitted via nuclear fusion then some mass being converted to energy/photons.
I've read that photons can bounce around (i.e. be absorbed and re-emitted) an estimated 40,000 years... but we all should understand that is a) an estimate and b) an estimate for the inner-most photons. Photons created via near-surface level areas of the sun may be emitted outward from the sun near-instantaneously.
All this to say that the light/photon(s) don't/doesn't start out as light. However, once a photon exists, it may be trapped for thousands of years due to the shear amount of mass trapping it and needing to be absorbed/re-emitted until space-bound!