Keep in mind, however, that it is one thing to sense things that are opposite and another to sense things that are related. Opposites are things that stand outside and against the things that are inside. Something opposite first arises where one thing completely stops being anything and something else then arises that tries to act against the first thing, like one gear that opposes another gear, or a current that goes against another current. Related things, however, have to do with the arrangement of many different elements into a design so that they work together in harmony—for example, the gems of different colors in the sash across a queen’s chest, or the multicolored flowers used in a garland to please the eye. Each side, then, contains things that are related to each other. The side of good contains things that are related to each other, and so does the side of evil; the side of truth contains things that are related to each other, and so does the side of falsity. Things related to each other exist in heaven and they exist in hell, but the things related to each other in hell are all opposite to the things related to each other in heaven.
Now, because God is aware of, sees, and knows all related things in heaven based on the divine design in which he himself is, and as a result he is aware of, sees, and knows all the opposing related things in hell, as follows from what was just said, therefore it is clear that God is just as omniscient in hell as he is in heaven. He also has full knowledge of people in the world. He is aware of, sees, and knows our evils and falsities from the goodness and truth that he is in and that are essentially him. As the Word says, “If I ascend into the heavens, you are there. If I lie down in hell, behold, you are there” (Psalms 139:8). Elsewhere it says, “If they dig through into hell, from there my hand will take them” (Amos 9:2).
from True Christianity, Section 62