In Timaeus, Plato describes (for the benefit of ancient-day readers) the story of how God generated the souls that would enliven living creatures:
And having made it (a diluted mixture of the universal soul) he divided the whole mixture into souls equal in number to the stars and assigned each soul to a star.
[41d] For the rest, do ye weave together the mortal with the immortal, and thereby fashion and generate living creatures, and give them food that they may grow, and when they waste away receive them to yourselves again.”
“Thus He spake, and once more into the former bowl, wherein He had blended and mixed the Soul of the Universe, He poured the residue of the previous material, mixing it in somewhat the same manner, yet no longer with a uniform and invariable purity, but second and third in degree of purity. And when He had compounded the whole He divided it into souls equal in number to the stars, and each several soul He assigned to one star.”
For the full article, go to https://www.solarancestor.com/each-has-a-star.html
Credit for Image Above: https://www.pinterest.com.au/pin/478296422910574802/
 From: http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0180%3Atext%3DTim.%3Asection%3D41d :