In the Midrash Tehilim (or the Shocher Tov), which is a commentary on Psalms, there is an interesting section, which compares men to stars.
Praise ye him, sun and moon; praise him all ye stars of light (Ps 148:3).
Who are the sun and the moon? The patriarchs and matriarchs, who are compared (meshulot here could also be in similitude of) to the sun and moon, as it is said, (Gen 37:9) behold the sun and the moon. Who are these stars of light, these are the righteous, as it is said (Dan 12:3), they that turn many to righteousness as the stars, so thus it is said praise him all ye stars of light. From this you learn that everyone has a star in the heavens, and it shines according to his deeds