Arcana Coelestia #47
47. That these words contain arcana concerning regeneration becomes additionally clear from the fact that verse 24 above spoke of the earth bringing forth 'living creatures, beasts, and wild animals of the earth', while in the verse that followed the order was different, namely that God made the wild animals of the earth first and then the beasts. Indeed a person does first produce things so to speak from himself, and continues to do so until he becomes celestial. And so regeneration begins with the external man and moves on to the internal. This is why there is a different order here, with external things coming first.
Arcana Coelestia #7781
7781. 'And all the firstborn of the beasts' means adulterated forms of the good of faith. This is clear from the meaning of 'the firstborn' as faith; and from the meaning of 'beast' as affections for good, and in the contrary sense affections for evil, dealt with in 45, 46, 141, 143, 246, 714, 715, 719, 776, 2179, 2180, 3519, 4724, 5198. Such things come to be meant by 'beasts' from representatives in the next life, 3218; and for that reason also such things were meant by the ones used in sacrifices, 2180, 2805, 2807, 2870, 3519. And because 'beasts' meant these things 'the firstborn of the beasts' therefore means the good of truth, at this point when it had been adulterated since it was with the Egyptians, who perverted all truths and forms of good by applying them to evil purposes.