137. Verse 22. Behold I will cast her into a bed, and them that commit adultery with her into great affliction, signifies that thus they will be left in their doctrine with the falsifications, and that they will be grievously infested by falsities. That by "bed" is signified doctrine, will be seen presently; that by "committing adultery" falsifications of truth are signified, may be seen above (n. 134, 136); and that by "affliction" is signified infestation from falsities (n. 33, 95, 101); and hence by "great affliction" is signified grievous infestation. That "a bed" signifies doctrine is from correspondence, for as the body rests in its bed, so does the mind rest in its doctrine. But by "bed" is signified the doctrine which everyone acquires to himself either from the Word, or from his own intelligence, for therein the mind rests and, as it were, sleeps. The beds in which they lie in the spiritual world, are from no other origin; for there everyone's bed is according to the quality of his science and intelligence, magnificent for the wise, mean for the unwise, and filthy for falsifiers.
 This is signified by "a bed" in Luke:
I say unto you, in that night there shall be two in one bed; the one shall be taken and the other left (Luke 17:34).
This is concerning the Last Judgment; "two in one bed" means two in one doctrine, but not in similar life. In John:
Jesus saith unto the sick man, Rise, take up thy bed, and walk; and he took up his bed, and walked (John 5:8-9);
and in Mark:
Jesus said unto the palsied, Son, thy sins be forgiven thee; and He said unto the Scribes, Whether is it easier to say, thy sins be forgiven thee, or to say, take up thy bed, and walk? then He said, Arise, take up thy bed, and walk; and he took up the bed, and went forth from them (Mark 2:5, 9, 11-12).
That here something is signified by "bed" is evident, because Jesus said, "Whether is it easier to say, thy sins be forgiven thee, or to say, take up thy bed and walk?" By "carrying his bed and walking" is signified to meditate in doctrine; it is so understood in heaven.
 Doctrine is also signified by "bed" in Amos:
As the shepherd rescueth from the mouth of the lion, so shall the sons of Israel be rescued that dwell in Samaria, in the corner of a bed, and in the extremity of a couch (Amos 3:12).
"In the corner of a bed" and "in the extremity of a couch" means what is more remote from the truths and goods of doctrine. "Bed" and "couch" and "bed chamber" have a similar signification in other places (as in Isa. 28:20; 57:2, 7-8; Ezek. 23:41; Amos 6:4; Micah 2:1; Ps. 4:4; Ps. 36:4; Ps. 41:3; Job 7:13; Lev. 15:4-5). Since by "Jacob" in the Propheticals of the Word is signified the church as to doctrine, therefore it is said of him, that:
He bowed himself upon the head of the bed (Gen. 47:31).
That when Joseph came, he sat upon the bed (Gen. 48:2).
That he gathered up his feet upon the bed, and expired (Gen. 49:33).
The doctrine of the church is signified by "Jacob" therefore sometimes when I have thought of Jacob, there has appeared to me above, in front, a man lying in a bed.