Arcana Coelestia # 2850
2850. 'And like the sand which is on the seashore' means a whole multitude of correspondent facts. This is clear from the meaning of 'the sea' as facts in general or a gathering together of them, dealt with in 28, 2120, and from the meaning of 'the sand' as facts individually and separately. Facts are compared to 'the sand' because in the internal sense the particles of stone from which the sand is formed mean facts, 643, 1298. Both comparisons are made here - that they will be multiplied 'as the stars of the heavens' and 'as the sand on the seashore 'because 'stars', or cognitions, are related to the rational, whereas 'the sand of the seashore', or facts, are related to the natural. When the things that belong to the rational man, namely the goods and truths present in cognitions, so exist in accordance with the things that belong to the natural man, that is to say, with facts, that they make one or mutually support each other, they in that case correspond. The Lord brings man's rational concepts and his natural images into this state of correspondence when He regenerates him, that is, makes him spiritual. It is for this reason that both the stars of the heavens and the sand on the seashore are mentioned here. Otherwise one phrase would have been sufficient.
Arcana Coelestia # 1849
1849. That 'the nation also which they are going to serve' means the evil who oppress is clear from the meaning of 'nation' and of 'serving'. In the genuine sense 'a nation' means goods, or what amounts to the same, those who are good, for when goods are thus spoken of abstractedly they still have reference to the subject, which is a man, spirit, or angel. In the contrary sense however 'nation' means evils, or what amounts to the same, those who are evil, dealt with in 1159, 1258-1260. 'Serving' however, or slavery, means oppression, as in the previous verse.