Arcana Coelestia # 6540
6540. 'And he made a mourning for his father seven days' means the end of the grief. This is clear from the meaning of 'mourning' as the grief that is felt before cognitions of good and truth have been implanted, dealt with immediately above in 6539; and from the meaning of 'seven days' as an entire period from beginning to end, dealt with in 728, 1044, 3845, 6508, here therefore the end, because once that period of days had passed they crossed the Jordan.
Arcana Coelestia # 6539
6539. 'And wailed there with great and extremely loud wailing means grief. This is clear from the meaning of 'wailing' as grief. The grief that is meant here is a grief that goes with the introduction referred to just above in 6537; for before the cognitions of good and truth which come at the initial stage can be implanted in good and so become part of the Church's good, grief exists; for a different state must be brought about in the natural, and the known facts must be rearranged into a different order there. Thus what a person has loved formerly must be destroyed, which means that he will also have to undergo temptations. This is what gives rise to the grief that is represented by 'the loud wailing with which they wailed'.