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.
Job 38:1-7
1
Then the LORD answered Job out of the whirlwind, and said,
2
Who is this that darkeneth counsel by words without knowledge?
3
Gird up now thy loins like a man; for I will demand of thee, and answer thou me.
4
Where wast thou when I laid the foundations of the earth? declare, if thou hast understanding.
5
Who hath laid the measures thereof, if thou knowest? or who hath stretched the line upon it?
6
Whereupon are the foundations thereof fastened? or who laid the corner stone thereof;
7
When the morning stars sang together, and all the sons of God shouted for joy?