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.
Doctrine of the Sacred Scripture #50
50. The Church’s Doctrine Must Be Drawn from the Word’s Literal Sense and Verified by It
In the preceding section we showed that in its literal sense the Word is in its fullness, in its holiness, and in its power. And because the Lord embodies the Word — inasmuch as He is the totality of the Word — it follows that the Lord is most present in that sense, and that He teaches and enlightens a person in the light of it.
This, however, needs to be demonstrated according to the following outline:
1. The Word is not understood apart from doctrine.
2. Doctrine must be drawn from the Word’s literal sense.
3. However, Divine truth, of which doctrine ought to consist, is apparent only to people who are enlightened by the Lord.