Arcana Coelestia # 10541
10541. 'And I shall know what I am to do to you' means that, this being so, it is possible for something to be established among them. This is clear from the train of thought in the internal sense; for outward holiness, devoid of any inward holiness, could exist with that nation. And since for this reason the external aspect of the Church could exist with that nation even though nothing of the internal did so, 'I shall know what I am to do' means that, this being so, it is possible for something to be established among them.
Isaiah 31:8-9
8
"The Assyrian will fall by the sword, not of man; and the sword, not of mankind, shall devour him. He will flee from the sword, and his young men will become subject to forced labor.
9
His rock will pass away by reason of terror, and his princes will be afraid of the banner," says Yahweh, whose fire is in Zion, and his furnace in Jerusalem.