Arcana Coelestia #78
78. Wisdom is described by 'the river in the garden', from which came 'four rivers'. The first of these is good and truth; the second is the knowledge of all things constituting good and truth, that is, constituting love and faith, which belong to the internal man; the third is reason, and the fourth knowledge, which belong to the external man. All of these derive from wisdom, which in turn stems from love to the Lord and faith in Him, verses 10-14.
Genesis 2:10-14
10
A river went out of Eden to water the garden; and from there it was parted, and became four heads.
11
The name of the first is Pishon: this is the one which flows through the whole land of Havilah, where there is gold;
12
and the gold of that land is good. There is aromatic resin and the onyx stone.
13
The name of the second river is Gihon: the same river that flows through the whole land of Cush.
14
The name of the third river is Hiddekel: this is the one which flows in front of Assyria. The fourth river is the Euphrates.