Arcana Coelestia #8583
8583. 'And water will come out of it' means that truths of faith will flow from Him. This is clear from the meaning of 'the rock', from which the water will come out, as the Lord in respect of faith, dealt with just above in 8581; and from the meaning of 'water' as the truths of faith, dealt with in 2702, 3058, 3424, 4976, 5668, 8568.
Joshua 8:26
26
For Joshua drew not back his hand, wherewith he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai.