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 #6176
6176. 'And Israel's days drew near when he must die' means the state immediately before regeneration. This is clear from the meaning of 'drawing near' as being near, thus immediately before; from the meaning of 'days as states, dealt with in 23, 487, 488, 493, 893, 2788, 7462, 3785, 4850; from the representation of 'Israel' as spiritual good, dealt with above in 6169; and from the meaning of 'dying' as rising again and being roused into spiritual life, dealt with in 3326, 3498, 3505, 4618, 4621, 6036, thus being regenerated. For one who is being regenerated rises from spiritual death and is roused into new life.