Yes, as a conditioned thing, the expression of a star will one-day, cease. Its light will stop and its expression as a star will no longer be. But, as a simile for meditation, the star represents constancy, meditative stability so majestic and unpreturbed as to be constant, like the light of the Sun is.
Furthermore, the light of the Sun can demonstrate as constant because it is a manifestation of the buddha nature, inner radiant Beingness, of the being who is demonstrating through the Sun. Or, for the simile, through any star.
As such, this is the teaching for our meditation: constancy in meditation. Be star-like.