Spiritual Meaning of EXODUS 15:27
AC 8366. Verse 27. And they came to Elim, and there were twelve springs of waters there, and seventy palm trees; and they encamped there by the waters. "And they came to Elim," signifies a state of enlightenment and of affection, thus of consolation after temptation; "and there were twelve springs of waters there," signifies that they had truths there in all abundance; "and seventy palm-trees," signifies the goods of truth in like manner; "and they encamped there by the waters," signifies that after temptation the truths of faith were set in order by means of the good of love.
AC 8367. And they came to Elim. That this signifies a state of enlightenment and of affection, thus of consolation after temptation, is evident from the signification of "Elim," as involving and signifying the state and the quality of the thing that is treated of; like all the other places to which the sons of Israel came (n. 2643, 3422, 4298, 4442); here the state after temptation, namely, a state of enlightenment and of affection, thus of consolation. For after all spiritual temptation there come enlightenment and affection, thus pleasantness and delight; pleasantness from enlightenment through truth, and delight from the affection of good.
 That consolation follows after temptations, see (n. 4572, 5246, 5628, 6829); the reason is that by means of temptations truths and goods are implanted and are conjoined, consequently the man as to his spirit is introduced interiorly into heaven, and to the heavenly societies with which he had previously been associated. When the temptation is ended, communication with heaven is opened, which had previously been partly closed, consequently enlightenment and affection, and consequently pleasantness and delight; for then the angels with whom communication is given, flow in by means of truth, and by means of good. Enlightenment by means of truth, and the consequent pleasantness, are signified by the "twelve springs of waters," for "springs" signify truths; the affection of truth from good, and the consequent delight, are signified by the "seventy palm-trees".
AC 8368. And there were three springs of waters there. That this signifies that they had truths there in all abundance, is evident from the signification of "twelve," as being all things in the complex (n. 2089, 2129, 2130, 3272, 3858, 3913, 7973), thus all abundance; and from the signification of "springs," as being truths of faith (n. 2702, 3096, 3424, 4861). Hence it is evident that by "twelve springs of waters" are signified truths in all abundance; from which it follows that by these words are also signified enlightenment and the consequent pleasantness; for he who has truths in all abundance has also enlightenment, and he who has enlightenment, provided he longs for truth from affection, has pleasantness.
AC 8369. And seventy palm-trees. That this signifies the goods of truth in like manner, that is, in all abundance, is evident from the signification of "seventy," as being all things in the complex, in like manner as "twelve" (n. 7973); and from the signification of "palm-trees," as being the goods of the spiritual church, which are the goods of truth; and because by "palm-trees" are signified goods, by them is also signified the affection of good, and the consequent delight, for all delight is from the affection of good. As this was signified by "palm-trees," therefore also palm-trees were employed in holy festivities, as in the feast of tabernacles, according to these words in Moses:--
Ye shall take for you in the first day the fruit of a tree of honor, spathes of palm-trees, and a branch of a dense tree, and willows of the torrent; and ye shall be glad before Jehovah your God seven days (Lev. 23:40);
by "the fruit of a tree of honor," is signified celestial good; by "palm-trees," spiritual good, or the good of truth; by "a branch of a dense tree," the truth of memory-knowledge; and by "willows of the torrent," the lowest truths of the natural; thus by these four are signified all goods and truths in their order.
 That "palm-trees" signified a holy festivity which is from good, is evident also from these words in the following passages:--
A great crowd that had come to the feast, when they heard that Jesus was coming into Jerusalem, took boughs of palm trees, and went forth to meet Him, and cried out, Hosanna: Blessed is He that cometh in the name of the Lord, even the King of Israel (John. 12:12, 13).
I saw, when behold a great crowd standing before the throne, and before the Lamb, clothed in white robes, and palms in their hands (Rev. 7:9).
The vine hath dried up, and the fig-tree languisheth, the pomegranate, and also the palm-tree, all joy hath dried up from the sons of man (Joel 1:12).
The righteous shall flourish like the palm-tree; he shall grow like a cedar in Lebanon (Ps. 92:12);
here "palm-tree" denotes good; and "cedar" truth.
 As a "palm-tree" signifies good, it also signifies wisdom, for wisdom is of good. This was signified by the palm-trees which together with the cherubs and flowers were carved upon the walls of the temple; for "the temple" signified the Lord Himself, and in the representative sense, heaven (n. 2777, 3720). The "cherubs," the "palm-trees," and the "flowers upon the walls" signified Providence, wisdom, and intelligence, which are from the Lord, thus all things which are of heaven. That these were carved on the walls of the temple, is evident in the first book of Kings:--
Solomon carved all the walls of the house round about with openings of carvings of cherubs and palm-trees, and openings of flowers; and upon the two doors of woods of oil he carved carvings of cherubs and of palm-trees, and of openings of flowers, and overlaid them with gold, so that he overspread the gold upon the cherubs, and upon the palm-trees (1 Kings 6:29, 32);
by these carvings was represented the state of heaven; by the "cherubs," the Providence of the Lord, thus that from Him are all things. Cherubs denote Providence, (n. 308); by "palm-trees," wisdom, which is of good from the Lord; and by "flowers," intelligence, which is of truth from Him; by the "gold" with which the cherubs and palm-trees were overlaid, was signified the good of love which reigns universally in the heavens. "Gold" denotes the good of love, (n. 113, 1551, 1552, 5658). Therefore also where the new temple is treated of in Ezekiel, by which is signified the heaven of the Lord, it is said that cherubs and palm-trees were upon the walls everywhere (Ezek. 41:17, 18, 20, 25, 26).
AC 8370. And they encamped there by the waters. That this signifies that after temptation the truths of faith were set in order by means of the good of love, is evident from the signification of "encamping," as being the setting in order of truth and good (n. 8103, 8130, 8131, 8155); and from the signification of "waters," as being truths of faith (n. 2702, 3058, 3424, 4976, 5668). That by the "encamping there by the waters" is signified that the truths of faith were set in order by means of the good of love, is because by a "camp" are signified truths and goods (n. 8193, 8196); and by "encamping" is signified the setting in order of them; and by "by the waters," is signified according to the truths which are from the Divine. It is said "by means of the good of love," because all setting in order of truths is effected by means of the good of love; for it is under and according to good that truths apply themselves, and make with good as it were one body. It is said "according to the image of the man in whom they are," because the image of a man‘s spirit--which is the man himself, for it is the inward man--is precisely according to the setting in order of the truths from good with him. Hence it is that when angels are made present, a sphere of the good of love pours out from them, and affects those who are present, and truths of faith shine forth from their faces. In the spiritual world such things appear, and are openly perceived. It is said that this setting in order is effected after temptation, because goods and truths are implanted in man by means of temptations, but are not set in order until afterward; for the state of temptation is turbulent, but the state after temptation is tranquil. The setting in order is effected in tranquillity. On this account also temptations are followed by what is pleasant by reason of enlightenment from truth, and by what is delightful by reason of the affection of good (n. 8367).