Arcana Coelestia # 8889
8889. 'And the seventh day is a sabbath to Jehovah your God' means when good has been implanted and so the marriage exists. This is clear from the meaning of 'the sabbath' as the heavenly marriage, dealt with above in 8886, thus good which has been implanted through truths and after that given form by them. For good with a person is not spiritual good until it has been given form by truths. And when it has been given form the heavenly marriage exists, since this marriage is good and truth joined together and constitutes heaven itself with a person. All this also goes to explain why 'the seventh day' means a holy state, state being meant by 'day', see 8888, and holy by 'seven', 395, 433, 716, 881, 5265.
Arcana Coelestia # 881
881. 'Seven' means that which is holy because now charity is the subject. This is clear from the meaning of the number seven, dealt with already in 395, 716. Furthermore 'seven' has been brought in here so that all things may be linked together as though they were historical events, for in the internal sense 'seven' and 'seven days' contribute nothing more to the meaning than a certain holiness which this second state possesses from what is celestial, that is, from charity.