Arcana Coelestia #1020
1020. That these things are meant becomes clear from the fact that everything put together as history from Genesis 1 down to Eber in Chapter 11 means something different from what appears in the letter, and from the consideration that the historical narratives there are purely made-up history customary among the most ancient people. When attesting the truth of some matter they would say that 'Jehovah said it'. Here however 'God' is used because the subject is the spiritual Church. And they did the same when anything true was being, or had been, put into effect.
Arcana Coelestia #2849
2849. 'Like the stars of the heavens' means a whole multitude of cognitions of good and truth. This is clear from the meaning of 'the stars' as cognitions of good and truth, dealt with in 1808, 2495. Those who are spiritual are compared in various places in the Word to 'the stars', this comparison being made for the reason that they possess cognitions of good and truth, whereas those who are celestial are not so compared because they do not possess cognitions but perceptions. And a further reason for the comparison is that the stars illuminate the night, and those who are spiritual have a night-time light - like that shed by the moon and stars - in comparison with the day-time light in which those dwell who are celestial. For more regarding the truth that those who are spiritual, compared with those who are celestial, dwell in obscurity, see 1043, 2708, 2715.